forked from Minki/linux
Merge remote-tracking branch 'asoc/topic/wm8510' into asoc-next
This commit is contained in:
commit
2dfbba6694
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user