]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm5100: Pass the IRQF_ONESHOT flag
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 12 May 2015 04:22:57 +0000 (01:22 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 12 May 2015 18:46:25 +0000 (19:46 +0100)
commit205e559d040a1f9b2219acb91f84963711def3c7
tree03080492d9e60a0bc6d893b74be1a3e1e88ae47d
parentdd4a0ac5a66093ba1477238fa2d0e835dd935ff6
ASoC: wm5100: Pass the IRQF_ONESHOT flag

Since commit ac4ffb5fd96645b04154d9aa1c27095512b77493 ("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.

The semantic patch that makes this change is available
in scripts/coccinelle/misc/irqf_oneshot.cocci.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm5100.c