[PATCH v2 05/12] drm/bridge/synopsys: dw-hdmi: Add deinit callback

Chen-Yu Tsai wens at csie.org
Fri Jan 12 06:12:16 UTC 2018


On Thu, Jan 11, 2018 at 3:25 AM, Jernej Skrabec <jernej.skrabec at siol.net> wrote:
> Some SoCs, like Allwinner A83T, have to do additional cleanup when
> HDMI driver unloads. When using DW HDMI through DRM bridge API, there is
> no place to store driver's private data so it can be accessed in unbind
> function. Because of that, add deinit function which is called at the
> very end, so drivers can do a proper cleanup.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec at siol.net>

8242ecbd597d ("drm/bridge/synopsys: stop clobbering drvdata"), which is
already in drm-misc-next, is a much saner solution. :)

ChenYu


More information about the dri-devel mailing list