From c086f0a2543a92e76acd67d35af47522e36abbdf Mon Sep 17 00:00:00 2001 From: Shreshtha SAHU Date: Mon, 15 Sep 2014 17:02:35 +0530 Subject: ASoC: Tegra: Fix double regulator disable digital_reg was disabled second time instead of codec_reg Bug 200036995 Change-Id: I8e9b3aeafa613a5a58063b88ee81bf3d0aaf4e43 Signed-off-by: Shreshtha SAHU Reviewed-on: http://git-master/r/498837 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vinayak Pane Reviewed-by: Sumit Bhattacharya Reviewed-by: Bharat Nihalani Reviewed-by: Matthew Pedro --- sound/soc/tegra/tegra_rt5639.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound') diff --git a/sound/soc/tegra/tegra_rt5639.c b/sound/soc/tegra/tegra_rt5639.c index b26096550c2d..d541d6cffd50 100644 --- a/sound/soc/tegra/tegra_rt5639.c +++ b/sound/soc/tegra/tegra_rt5639.c @@ -1480,7 +1480,7 @@ err_fini_utils: if (machine->dmic_reg) regulator_put(machine->dmic_reg); if (machine->codec_reg) { - regulator_disable(machine->digital_reg); + regulator_disable(machine->codec_reg); regulator_put(machine->codec_reg); } -- cgit v1.2.3