soc: tegra: rt5639: balance regulator disabling
authorVinayak Pane <vpane@nvidia.com>
Sat, 14 Dec 2013 02:28:25 +0000 (18:28 -0800)
committerBharat Nihalani <bnihalani@nvidia.com>
Wed, 18 Dec 2013 18:26:18 +0000 (10:26 -0800)
commit48c15619e62321d34714823ac36b15e610df6ea8
tree2a2d932051db69763dbb399e8397c7078f1c3bf3
parent6d6ee8e07b95793e6620146cff4c40d6c36134df
soc: tegra: rt5639: balance regulator disabling

Regulator enable, disable is not balanced in case of probe failure.
Restoring the regulators after probe failure and also at remove.

Bug 1425501

Change-Id: Ie6b5e87f3ec9cd31fcf7fa86c3f45022581b9ea1
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/345554
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
sound/soc/tegra/tegra_rt5639.c