]> 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)
commit060ce272bd1f6bdd2a63743862169d1165de0c85
tree9bf7edf2ceb8388edd73b7d0c0a5eda8417654c0
parent74202eb64842b5cd2dc13e6b2e9fa17d39c9e3da
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