]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: ti-sn65dsi86: Properly undo autosuspend
authorDouglas Anderson <dianders@chromium.org>
Tue, 22 Feb 2022 22:18:43 +0000 (14:18 -0800)
committerDouglas Anderson <dianders@chromium.org>
Mon, 28 Feb 2022 17:52:46 +0000 (09:52 -0800)
commit398053ea76581da745ede6e4fda52bd61eef0d78
treecd1928092d00574ec3f319abbe471e956ea21af6
parent23449b7ad02f583008670f3c149cd45222cc1ff3
drm/bridge: ti-sn65dsi86: Properly undo autosuspend

The PM Runtime docs say:
  Drivers in ->remove() callback should undo the runtime PM changes done
  in ->probe(). Usually this means calling pm_runtime_disable(),
  pm_runtime_dont_use_autosuspend() etc.

We weren't doing that for autosuspend. Let's do it.

Fixes: 2f4b20343c2e ("drm/bridge: ti-sn65dsi86: Use pm_runtime autosuspend")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220222141838.1.If784ba19e875e8ded4ec4931601ce6d255845245@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c