From 2efbea7430a572089f442d258834c7fd5e4e9b75 Mon Sep 17 00:00:00 2001 From: Shreshtha SAHU Date: Mon, 29 Sep 2014 16:49:21 +0530 Subject: asoc: rt5639: fix missing regmap_exit during remove without regmap_exit in remove, next modprobe of modprobe used to complain of "Failed to create debugfs directory" due to stale debugfs directory. Bug 200038898 Change-Id: Ie6373f40b50c1307ee7d114dc0f44164c4b426eb Signed-off-by: Shreshtha SAHU Reviewed-on: http://git-master/r/542646 Reviewed-by: Venkat Moganty --- sound/soc/codecs/rt5639.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sound') 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; } -- cgit v1.2.3