提交 2dfbba66 编写于 作者: M Mark Brown

Merge remote-tracking branch 'asoc/topic/wm8510' into asoc-next

...@@ -608,10 +608,7 @@ static int wm8510_probe(struct snd_soc_codec *codec) ...@@ -608,10 +608,7 @@ static int wm8510_probe(struct snd_soc_codec *codec)
/* power down chip */ /* power down chip */
static int wm8510_remove(struct snd_soc_codec *codec) static int wm8510_remove(struct snd_soc_codec *codec)
{ {
struct wm8510_priv *wm8510 = snd_soc_codec_get_drvdata(codec);
wm8510_set_bias_level(codec, SND_SOC_BIAS_OFF); wm8510_set_bias_level(codec, SND_SOC_BIAS_OFF);
kfree(wm8510);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册