]> asedeno.scripts.mit.edu Git - linux.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)
commit4b6e21c3b5645b8808c2d8f023c93dd3ecf66321
tree30627b750c4e9c6616e22df0025d95d3f83fa3f3
parent94feeaafbefd01b1be00ef8aa33e2a6224500f06
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