aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2023-05-02 12:38:09 +0200
committerVinod Koul <[email protected]>2023-05-08 14:39:42 +0530
commit9bf03a0cbd80a256bc1e1c4bcc80bc2b06b8b2b9 (patch)
treebf0a96bd1253ce2bc2a635d7e7c3262b1d342a11 /tools/perf/scripts/python/libxed.py
parentac9a78681b921877518763ba0e89202254349d1b (diff)
phy: qcom-qmp-combo: fix init-count imbalance
The init counter is not decremented on initialisation errors, which prevents retrying initialisation and can lead to the runtime suspend callback attempting to disable resources that have never been enabled. Add the missing decrement on initialisation errors so that the counter reflects the state of the device. Fixes: e78f3d15e115 ("phy: qcom-qmp: new qmp phy driver for qcom-chipsets") Cc: [email protected] # 4.12 Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions