imx-drm: delay publishing sysfs connector entries
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Nov 2013 18:39:29 +0000 (18:39 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 Feb 2014 12:07:35 +0000 (12:07 +0000)
commite355e7dd607bd0338ba1899fc35136cbe2ea13f2
tree7ab1e39f7a596fb7b62f289b28207fb6688859cc
parent17b5001b5143e3b7fce1c584bdcffd726dd8667c
imx-drm: delay publishing sysfs connector entries

Delay publishing sysfs connector entries until all components have
initialised.  This reduces the probability of generating false hotplug
events when we're uncertain whether the driver can fully initialise.
This also pulls that code out of the individual imx-drm connector
drivers.

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/staging/imx-drm/imx-drm-core.c