]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: dw-mipi-dsi: Fix connector and encoder cleanup.
authorJeffy Chen <jeffy.chen@rock-chips.com>
Fri, 2 Mar 2018 17:57:53 +0000 (18:57 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 8 Mar 2018 16:32:52 +0000 (17:32 +0100)
commit4fa0d5a825332f3b825ea4700646a7f3e79a2cdc
tree9bf7edf2ceb8388edd73b7d0c0a5eda8417654c0
parent6ed19c2846ba80a1dc574ffc19bc076f1f8206f5
drm/rockchip: dw-mipi-dsi: Fix connector and encoder cleanup.

In bind()'s error handling path call destroy functions instead of
cleanup functions for encoder and connector and reorder to match how is
called in bind().

In unbind() call the connector and encoder destroy functions.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180302175757.28192-2-enric.balletbo@collabora.com
drivers/gpu/drm/rockchip/dw-mipi-dsi.c