summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKui Wang <kuiw@codeaurora.org>2016-12-26 11:06:41 +0800
committerKui Wang <kuiw@codeaurora.org>2017-01-12 10:05:05 +0800
commit89b48a2723797e884166802f04ce2fac3a23c7db (patch)
tree0c2538890b5376a5f1316fa3bce1c7c37639b115 /tools/perf/scripts/python
parent0a8e939a4e57d86da88c9856cd266447fc45ea85 (diff)
msm: camera: fix init pinctrl fail in actuator probe
When there is no gpio configure in actuator dtsi, msm_sensor_driver_get_gpio_data will return zero. And it will lead to pinctrl init failed error log when do actuator probe. Add zero return value judgement conditon to avoid this error. Change-Id: Ifa527069dc5f6755190575334d1925b5266228f7 Signed-off-by: Kui Wang <kuiw@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions