mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
iio: exynos-adc: fix irqf_oneshot.cocci warnings
Since commit 1c6c69525b ("genirq: Reject bogus threaded irq requests")
threaded IRQs without a primary handler need to be requested with
IRQF_ONESHOT, otherwise the request will fail.
So pass the IRQF_ONESHOT flag in this case.
Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Valentin Rothberg <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
This commit is contained in:
parent
11c7a6c5a3
commit
86af47413a
1 changed files with 1 additions and 1 deletions
|
|
@ -739,7 +739,7 @@ static int exynos_adc_ts_init(struct exynos_adc *info)
|
|||
|
||||
disable_irq(info->tsirq);
|
||||
ret = request_threaded_irq(info->tsirq, NULL, exynos_ts_isr,
|
||||
0, "touchscreen", info);
|
||||
IRQF_ONESHOT, "touchscreen", info);
|
||||
if (ret)
|
||||
input_unregister_device(info->input);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue