]> 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)
commit0214c178d646e3bfdee4a4a793f2fac132640909
tree30627b750c4e9c6616e22df0025d95d3f83fa3f3
parent0440c6a136d62d93cc0d83d65e57eeacbc09c210
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