]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-jack: Fix checking return value of request_any_context_irq
authorAxel Lin <axel.lin@gmail.com>
Sat, 13 Aug 2011 11:15:01 +0000 (19:15 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Aug 2011 13:28:46 +0000 (22:28 +0900)
commitf25e4cdd1fc75d964fdba59eaaf0e68f5626ad62
tree58e24261e34e254e9d3600d28916aea8f7596ebb
parentaf268f5e688821c0825fa21b8352cfb83caff54a
ASoC: soc-jack: Fix checking return value of request_any_context_irq

request_any_context_irq() returns a negative value on failure.
On success, it returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.orG
sound/soc/soc-jack.c