diff options
Diffstat (limited to 'sound/soc/codecs/rt5645.c')
-rw-r--r-- | sound/soc/codecs/rt5645.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 689e7bd7f1f7..0fde9c09c1c2 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -3598,6 +3598,8 @@ static int rt5645_probe(struct snd_soc_codec *codec) static int rt5645_remove(struct snd_soc_codec *codec) { rt5645_set_bias_level(codec, SND_SOC_BIAS_OFF); + device_remove_file(codec->dev, &dev_attr_codec_reg); + device_remove_file(codec->dev, &dev_attr_index_reg); return 0; } |