Skip to content
Commit a2224f97 authored by Maxime Ripard's avatar Maxime Ripard Committed by Phil Elwell
Browse files

drm/vc4: hdmi: Switch to pm_runtime_resume_and_get

pm_runtime_get_sync increases the PM usage counter even if it fails, and
forgetting to do so will result in a reference leak. We can't really do
anything in atomic_enable in case of a failure though, and we probably
can't recover either, but at least switching to
pm_runtime_resume_and_get makes us play nice with the PM subsystem.

Fixes: 4f6e3d66

 ("drm/vc4: Add runtime PM support to the HDMI encoder driver")
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 26e25e32
  • mirror @mirror

    mentioned in commit b0fd93c0

    ·

    mentioned in commit b0fd93c0

    Toggle commit list
  • mirror @mirror

    mentioned in commit 83a15210

    ·

    mentioned in commit 83a15210

    Toggle commit list
  • mirror @mirror

    mentioned in commit 5be36be8d89d38d8f054360099be0c9105b54265

    ·

    mentioned in commit 5be36be8d89d38d8f054360099be0c9105b54265

    Toggle commit list
  • mirror @mirror

    mentioned in commit 02a9cffd646fe7c7703928b462485c7176a3a881

    ·

    mentioned in commit 02a9cffd646fe7c7703928b462485c7176a3a881

    Toggle commit list
  • mirror @mirror

    mentioned in commit 30cd4e95

    ·

    mentioned in commit 30cd4e95

    Toggle commit list
  • mirror @mirror

    mentioned in commit b66fbab21d87a4cfe66eb6e9cf54069896d93666

    ·

    mentioned in commit b66fbab21d87a4cfe66eb6e9cf54069896d93666

    Toggle commit list
  • mirror @mirror

    mentioned in commit b422039100143805342fa015c848be4be9355e29

    ·

    mentioned in commit b422039100143805342fa015c848be4be9355e29

    Toggle commit list
  • mirror @mirror

    mentioned in commit d737fffdd9f6aa4f3566a492c897ecd5a64994ba

    ·

    mentioned in commit d737fffdd9f6aa4f3566a492c897ecd5a64994ba

    Toggle commit list
  • mirror @mirror

    mentioned in commit 270f78dffad8ffea9c38202d64074d72ef718acc

    ·

    mentioned in commit 270f78dffad8ffea9c38202d64074d72ef718acc

    Toggle commit list
  • mirror @mirror

    mentioned in commit faa3100468102f0217d8a87db00b400362f9af4a

    ·

    mentioned in commit faa3100468102f0217d8a87db00b400362f9af4a

    Toggle commit list
  • mirror @mirror

    mentioned in commit 208f56e6

    ·

    mentioned in commit 208f56e6

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment