]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: parallel-display: move initialization into probe
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 10 Dec 2020 15:38:39 +0000 (16:38 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Jan 2021 11:59:33 +0000 (12:59 +0100)
commit495590c65942d002d3f01fa35c5bcb197a504c56
treef1bee554dc3c216558fde6bde8ef3fd1ad3546f6
parent5145fe5bed7cdd34f3d7f0e3513b07cc7707c2e4
drm/imx: parallel-display: 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.

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