Files
android_kernel_xiaomi_sm8450/drivers/input/touchscreen
Guy Shapiro accbcea346 Input: imx6ul_tsc - convert int to u32
The code uses of_property_read_u32 and expects positive values.  However,
the values are stored in signed int variables.  Additionally, the registers
values are also stored in signed variables without a good reason
(readl/writel expect u32).

The only time this caused a real bug was in the new average-samples
property, in which the property is numerically compared and implicitly
expected to be positive.

I believe it's better to change all the properties and registers to u32,
for consistency and warnings reduction.

Signed-off-by: Guy Shapiro <guy.shapiro@mobi-wize.com>
Reported-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2016-11-30 17:44:36 -08:00
..
2016-04-28 10:52:28 +02:00
2016-10-13 17:25:40 -07:00
2016-01-02 21:08:53 -08:00
2016-11-16 16:59:55 -08:00
2016-03-02 09:40:20 -08:00