]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging:iio: Request threaded-only IRQs with IRQF_ONESHOT
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 2 Jul 2012 08:54:45 +0000 (10:54 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 8 Jul 2012 19:02:24 +0000 (20:02 +0100)
commita91aff1c09fc41a55ccaa115763ff77e36b527d3
tree67399c19ed775cdd8f87997f7b03afeff89638e2
parente1dc7bee745f74b42685b4b0b0a24895966e545e
staging:iio: Request threaded-only IRQs with IRQF_ONESHOT

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. This patch adds the IRQF_ONESHOT to IIO drivers where it
is missing.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/sca3000_core.c
drivers/staging/iio/adc/ad7816.c
drivers/staging/iio/adc/adt7310.c
drivers/staging/iio/adc/adt7410.c
drivers/staging/iio/cdc/ad7150.c