[PATCH v5 05/12] drm/bridge/synopsys: dw-hdmi: don't clobber drvdata
Philipp Zabel
p.zabel at pengutronix.de
Mon Feb 19 05:49:28 PST 2018
On Wed, 2018-02-14 at 21:08 +0100, Jernej Skrabec wrote:
> dw_hdmi shouldn't set drvdata since some drivers might need to store
> it's own data there. Rework dw_hdmi in a way to return struct dw_hdmi
> instead to store it in drvdata. This way drivers are responsible to
> store and pass structure when needed.
>
> Idea was taken from the following commit:
> 8242ecbd597d ("drm/bridge/synopsys: stop clobbering drvdata")
>
> Cc: p.zabel at pengutronix.de
> Cc: narmstrong at baylibre.com
> Cc: Laurent.pinchart at ideasonboard.com
> Cc: hjc at rock-chips.com
> Cc: heiko at sntech.de
> Acked-by: Neil Armstrong <narmstrong at baylibre.com>
> Signed-off-by: Jernej Skrabec <jernej.skrabec at siol.net>
For i.MX:
Tested-by: Philipp Zabel <p.zabel at pengutronix.de>
Acked-by: Philipp Zabel <p.zabel at pengutronix.de>
regards
Philipp
More information about the linux-arm-kernel
mailing list