Message ID | 20220707125701.3518263-6-amadeuszx.slawinski@linux.intel.com |
---|---|
State | Accepted |
Commit | b9f098aa7ae2a022dee06a8ca363e3e0e077f05a |
Headers | show |
Series | ASoC: codecs: Series of fixes for realtek codecs used on RVPs | expand |
diff --git a/sound/soc/codecs/rt274.c b/sound/soc/codecs/rt274.c index 6b208f9eb503..f2c50b11e4d0 100644 --- a/sound/soc/codecs/rt274.c +++ b/sound/soc/codecs/rt274.c @@ -993,6 +993,7 @@ static void rt274_remove(struct snd_soc_component *component) struct rt274_priv *rt274 = snd_soc_component_get_drvdata(component); cancel_delayed_work_sync(&rt274->jack_detect_work); + rt274->component = NULL; } #ifdef CONFIG_PM