ASoC: twl6040: Drop using devm_request_threaded_irq()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 24 Jun 2013 13:42:03 +0000 (15:42 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 24 Jun 2013 15:05:47 +0000 (16:05 +0100)
commitf60596d61fc238befd169ea394ba6a458fafd774
treee06808bb04bc3fef4ec71ac5fc394011859daad0
parent9e895ace5d82df8929b16f58e9f515f6d54ab82d
ASoC: twl6040: Drop using devm_request_threaded_irq()

We need to free the irq at twl6040_remove() which is called when the machine
driver has been removed (the card has been removed).
If we fail to do that, next time when the machine driver is loaded the
codec's probe will fail since the irq has been already requested.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/twl6040.c