]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: dw_hdmi-imx: move initialization into probe
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 10 Dec 2020 15:38:32 +0000 (16:38 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Jan 2021 11:59:33 +0000 (12:59 +0100)
commitd1b95968200a0a3fbd0cb6ae675b3d3f427712e0
tree1d2cb3c4ced93159cd35c3f4d72df3836fa9717d
parent1fa882af5be0ac722a731fa82e3e6857262460db
drm/imx: dw_hdmi-imx: move initialization into probe

Parts of the initialization that do not require the drm device can be
done once during probe instead of possibly multiple times during bind.
The bind function only creates the encoder and attaches the bridge.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/imx/dw_hdmi-imx.c