]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge/synopsys: dsi: move mipi_dsi_host_unregister to __dw_mipi_dsi_remove
authorHeiko Stuebner <heiko@sntech.de>
Mon, 1 Oct 2018 12:38:39 +0000 (14:38 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Tue, 30 Oct 2018 13:06:08 +0000 (14:06 +0100)
commitb4ff68c6ebc9f27251279b829b118cce86edf576
tree30627b750c4e9c6616e22df0025d95d3f83fa3f3
parent3066c3799f21f463b46131633a9b6c1f45a39fd0
drm/bridge/synopsys: dsi: move mipi_dsi_host_unregister to __dw_mipi_dsi_remove

Right now the host is only unregistered when the driver is used via the
bridge api and not via the component api, leading to the host staying
registered in cases like probe deferral.

So move the host unregister to the general remove function, so that it
gets cleaned up in all cases.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181001123845.11818-2-heiko@sntech.de
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c