diff options
author | Jihoon Bang <jbang@nvidia.com> | 2011-09-30 17:22:55 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:49:22 -0800 |
commit | 612fc1125ef1d98b2f7bf115b097daf96d63ec48 (patch) | |
tree | 8cf2766015a7aade7502a7c2265da61fcbf57f16 /arch/arm/mach-tegra/board-ventana.c | |
parent | 5335cb5026165e4d3adefaae58c3ef7ebb8aa038 (diff) |
i2c: fix crash when there is no regulator
Calling regulator_disable causes system to crash when there
is no regualtor. It calls regulator_disable only when regulators
exist.
Bug 871860
Reviewed-on: http://git-master/r/55603
(cherry picked from commit 042e786e9766c891b44b8e00aa05f4c42b724440)
Reviewed-on: http://git-master/r/56237
(cherry picked from commit 9607d33bfcb84f764935ea911b93e716018ab818)
Change-Id: I06cfaeedcbdf276c3a17a759d410c7b46de8e9b1
Reviewed-on: http://git-master/r/57416
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Rebase-Id: Rb146536a30b5e0c1f06a1622e77248aa539617a8
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana.c')
0 files changed, 0 insertions, 0 deletions