]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: ti-sn65dsi86: ensure bridge suspend happens during PM sleep
authorHarigovindan P <harigovi@codeaurora.org>
Tue, 9 Jun 2020 12:04:55 +0000 (17:34 +0530)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 26 Jun 2020 11:39:59 +0000 (13:39 +0200)
commit21ebef50127ea958440352c38b1550493a80d998
tree42e5d2b26a2c583a86132caa7e926e419eba9565
parentd2f7af19b3057b72da2932e888e1c7935ca55d57
drm/bridge: ti-sn65dsi86: ensure bridge suspend happens during PM sleep

ti-sn65dsi86 bridge is enumerated as a runtime device. When
suspend is triggered, PM core adds a refcount on all the
devices and calls device suspend, since usage count is
already incremented, runtime suspend will not be called
and it kept the bridge regulators and gpios ON which resulted
in platform not entering into XO shutdown.

Add changes to force suspend on the runtime device during pm sleep.

Signed-off-by: Harigovindan P <harigovi@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200609120455.20458-1-harigovi@codeaurora.org
drivers/gpu/drm/bridge/ti-sn65dsi86.c