diff options
author | Jihoon Bang <jbang@nvidia.com> | 2011-09-30 17:22:55 -0700 |
---|---|---|
committer | Ryan Wong <ryanw@nvidia.com> | 2011-10-04 16:37:01 -0700 |
commit | 504549c350bb66d43bf3aa46d91a68068c0f4b96 (patch) | |
tree | 9dad13c62ba71c86595ca15876889f909d2524aa /drivers/input/touchscreen/ad7879-i2c.c | |
parent | 049c2acbee16cece35713ced63df28d18d617df5 (diff) |
i2c: fix crash when there is no regulatortegra-12r10-android-2.3
Calling regulator_disable causes system to crash when there
is no regualtor. It calls regulator_disable only when regulators
exist.
Bug 871860
Change-Id: I7b714ed2423721d47ebae708dd453600cbf42312
Reviewed-on: http://git-master/r/56078
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
Diffstat (limited to 'drivers/input/touchscreen/ad7879-i2c.c')
0 files changed, 0 insertions, 0 deletions