Skip to content

Commit c163108

Browse files
ZhangShurongbroonie
authored andcommitted
ASoC: rt5665: add missed regulator_bulk_disable
The driver forgets to call regulator_bulk_disable() Add the missed call to fix it. Fixes: 33ada14 ("ASoC: add rt5665 codec driver") Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com> Link: https://lore.kernel.org/r/tencent_A560D01E3E0A00A85A12F137E4B5205B3508@qq.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3853111 commit c163108

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/soc/codecs/rt5665.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4472,6 +4472,8 @@ static void rt5665_remove(struct snd_soc_component *component)
44724472
struct rt5665_priv *rt5665 = snd_soc_component_get_drvdata(component);
44734473

44744474
regmap_write(rt5665->regmap, RT5665_RESET, 0);
4475+
4476+
regulator_bulk_disable(ARRAY_SIZE(rt5665->supplies), rt5665->supplies);
44754477
}
44764478

44774479
#ifdef CONFIG_PM

0 commit comments

Comments
 (0)