diff options
author | Dmitry Baryshkov <[email protected]> | 2024-02-27 00:34:45 +0200 |
---|---|---|
committer | Rob Clark <[email protected]> | 2024-06-05 15:53:29 -0700 |
commit | aeacc39e2088a15ee31c8af4f68c84981fa08eb7 (patch) | |
tree | db4ec56cb7692af8961d4286310f74c5ae934a3a /tools/perf/scripts/python/netdev-times.py | |
parent | 6ed817592638348e83facfe6a4deedb8d5e83357 (diff) |
drm/msm/dp: fix runtime_pm handling in dp_wait_hpd_asserted
The function dp_wait_hpd_asserted() uses pm_runtime_get_sync() and
doesn't care about the return value. Potentially this can lead to
unclocked access if for some reason resuming of the DP controller fails.
Change the function to use pm_runtime_resume_and_get() and return an
error if resume fails.
Fixes: e2969ee30252 ("drm/msm/dp: move of_dp_aux_populate_bus() to eDP probe()")
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/580137/
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: resolved trivial conflict while rebase]
Signed-off-by: Abhinav Kumar <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions