ASoC: max98090: Fix missing free_irq
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 19 Jun 2014 06:32:05 +0000 (09:32 +0300)
committerMark Brown <broonie@linaro.org>
Thu, 19 Jun 2014 09:57:00 +0000 (10:57 +0100)
commit4adeb0ccf86a5af1825bbfe290dee9e60a5ab870
tree7c5c156dd2a6953a3366654247f65e307b6e7a3a
parent7171511eaec5bf23fb06078f59784a3a0626b38f
ASoC: max98090: Fix missing free_irq

max98090.c doesn't free the threaded interrupt it requests. This causes
an oops when doing "cat /proc/interrupts" after snd-soc-max98090.ko is
unloaded.

Fix this by requesting the interrupt by using devm_request_threaded_irq().

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Cc: Stable <stable@vger.kernel.org> # 3.10+
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/max98090.c