aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorJeff Ohlstein <johlstei@codeaurora.org>2012-01-19 15:06:23 -0800
committerJeff Ohlstein <johlstei@codeaurora.org>2012-01-26 11:58:32 -0800
commit5ff17d5dcf5b2ebdd2c9536146ebd6cd6ce64a9e (patch)
tree93f84abfcf9691f2591797179a56785243c58aaf /scripts/gcc-wrapper.py
parent2cbe5baa4ba0082b5aefac4d9851c359e3eba41c (diff)
input: cyttsp-i2c: Don't set mode on unsettable regulators
Currently during boot, and every suspend and resume, we call regulator_set_optimum_mode on every touchscreen regulator. However, some regulators don't support this function, and this will cause set_optimum_mode to print an error when this occurs. Correct this by checking if it is valid to call set_optimum_mode on a given regulator before doing so. Change-Id: I71f0f14b16d9f333bd409d9d5150f11a7ccd8fdf Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions