summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5639.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/rt5639.c')
-rw-r--r--sound/soc/codecs/rt5639.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5639.c b/sound/soc/codecs/rt5639.c
index e9a5a4db3538..c11dcc2aeea8 100644
--- a/sound/soc/codecs/rt5639.c
+++ b/sound/soc/codecs/rt5639.c
@@ -3148,6 +3148,7 @@ static int rt5639_probe(struct snd_soc_codec *codec)
static int rt5639_remove(struct snd_soc_codec *codec)
{
rt5639_set_bias_level(codec, SND_SOC_BIAS_OFF);
+ regmap_exit(codec->control_data);
device_remove_file(codec->dev, &dev_attr_index_reg);
return 0;
}