diff options
author | Misael Lopez Cruz <misael.lopez@ti.com> | 2013-01-11 17:00:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-12 00:54:47 +0100 |
commit | 8d61f4901f83461e1f04df7743777e9db5f541aa (patch) | |
tree | 43ae37b703fe6801f36f3ba595f4a82d2552fca3 /sound/soc/codecs/twl6040.c | |
parent | ASoC: OMAP: Remove obsolete machine drivers for Zoom2 and SDP3430 (diff) | |
download | linux-8d61f4901f83461e1f04df7743777e9db5f541aa.tar.xz linux-8d61f4901f83461e1f04df7743777e9db5f541aa.zip |
ASoC: twl6040: Convert PLUGINT to no-suspend irq
Convert headset PLUGINT interrupt to NO_SUSPEND type in order to
allow handling of insertion/removal events while device is suspended.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/twl6040.c')
-rw-r--r-- | sound/soc/codecs/twl6040.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 3fc3fc64dd8b..ef31ace41d53 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c @@ -1174,7 +1174,7 @@ static int twl6040_probe(struct snd_soc_codec *codec) mutex_init(&priv->mutex); ret = request_threaded_irq(priv->plug_irq, NULL, twl6040_audio_handler, - 0, "twl6040_irq_plug", codec); + IRQF_NO_SUSPEND, "twl6040_irq_plug", codec); if (ret) { dev_err(codec->dev, "PLUG IRQ request failed: %d\n", ret); goto plugirq_err; |