aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAnders Darander <[email protected]>2016-08-08 14:42:16 +0200
committerJonathan Cameron <[email protected]>2016-08-15 17:14:53 +0100
commitc2ab447454d498e709d9011c0f2d2945ee321f9b (patch)
tree296861aee93eed426c0676198ef64d3c00c0e1bf /tools/perf/util/trace-event-scripting.c
parentddbc719f99cf9aed6918cef98cb3475fd4fc4fa6 (diff)
iio: adc: at91: unbreak channel adc channel 3
The driver always assumes that an input device has been created when reading channel 3. This causes a kernel panic when dereferencing st->ts_input. The change was introduced in commit 84882b060301 ("iio: adc: at91_adc: Add support for touchscreens without TSMR"). Earlier versions only entered that part of the if-else statement if only the following flags are set: AT91_ADC_IER_XRDY | AT91_ADC_IER_YRDY | AT91_ADC_IER_PRDY Signed-off-by: Anders Darander <[email protected]> Acked-by: Alexandre Belloni <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions