summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShantanu Jain <shjain@codeaurora.org>2014-07-21 18:00:00 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-21 21:51:45 -0700
commit14632a5cfb4d2acc40856748f91b07687eff9884 (patch)
treeefa21cc456dcdc4d12310b10d2bce43ac9674932 /tools/perf/scripts/python/export-to-postgresql.py
parentcbb13b31eb274830cb44c1780faee1178209db4a (diff)
input: focaltech: release pinctrl resources on probe failure
devm_pinctrl_get() does not release the ownership of mux function of pins in the associated pin-group whenever a failure occurs in driver probe routine. i.e struct pin_desc's mux_owner field is still marked as being in use after a failure occurs in probe. As a result of this, if another driver tries to acquire the ownership of same pin, it gets an error while applying that setting. To fix this, explicitly release the mux function ownership of the the pin, by adding a new pin-group in pinctrl DT and a new pinctrl state in touch device's DT node. This new pin-group does not have a function setting (qcom,pin-func property). This new state is explicitly activated during a probe failure and driver remove routine to release the mux function ownership. The patch also reorganizes the pinctrl related code in driver. This patch is propagated from msm-3.18 kernel. 'commit f09a0560dde9 ("input: focaltech: release pinctrl resources on probe failure")' Change-Id: I16a97fefc64dd171deb800b481aa74a797c9ad55 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions