On Wed, Dec 14, 2016 at 11:59:08AM +0200, Laurent Pinchart wrote:
Instead of linking encoders and bridges in every driver (and getting it wrong half of the time, as many drivers forget to set the drm_bridge encoder pointer), do so in core code. The drm_bridge_attach() function needs the encoder and optional previous bridge to perform that task, update all the callers.
Signed-off-by: Laurent Pinchart laurent.pinchart+renesas@ideasonboard.com Acked-by: Stefan Agner stefan@agner.ch # For DCU Acked-by: Boris Brezillon boris.brezillon@free-electrons.com # For atmel-hlcdc Acked-by: Vincent Abriou vincent.abriou@st.com # For STI
For sun4i, Acked-by: Maxime Ripard maxime.ripard@free-electrons.com
Thanks, Maxime