diff options
Diffstat (limited to 'sound/soc/codecs/max98090.c')
-rw-r--r-- | sound/soc/codecs/max98090.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index 3eda6a9c934e..52dc80ecd044 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c @@ -3702,6 +3702,7 @@ static int max98090_probe(struct snd_soc_codec *codec) of_property_read_u32(np, "maxim,audio-int", &audio_int); } + max98090->irq = audio_int; max98090->codec = codec; codec->dapm.idle_bias_off = 1; @@ -3810,6 +3811,8 @@ static int max98090_remove(struct snd_soc_codec *codec) { struct max98090_priv *max98090 = snd_soc_codec_get_drvdata(codec); + free_irq(max98090->irq, codec); + cancel_delayed_work_sync(&max98090->jack_work); kfree(max98090->bq_texts); |