Integrate linux-imx-kuk/mc3_ucb1400_fix_touch_pressure_for_weston
--
Commit: seco-ne/kernel/linux-imx-kuk@9ec0c273
MC3 UCB1400 touch: fix touch pressure for Weston
The UCB1400 touch driver claimed to report Min/Max pressure coordinates of 0, which caused Weston to refuse to use the touch:
Jul 05 11:49:10 GFMM00000000 weston[1189]: [11:49:10.521] event1 - UCB1400 touchscreen interface: is tagged by udev as: Touchscreen Jul 05 11:49:10 GFMM00000000 weston[1189]: [11:49:10.522] event1 - UCB1400 touchscreen interface: kernel bug: device has min == max on ABS_PRESSURE Jul 05 11:49:10 GFMM00000000 weston[1189]: [11:49:10.522] event1 - UCB1400 touchscreen interface: was rejected Jul 05 11:49:10 GFMM00000000 weston[1189]: [11:49:10.522] event1 - not using input device '/dev/input/event1'
This patch fixes this issue. Now the driver correctly claims to report pressure values in the range 0..MAX_ADC_VALUE
(cherry picked from commit 113f3701)