[PATCH v2] staging: imx-drm-core: skip components whose parent device is disabled

Philipp Zabel p.zabel at pengutronix.de
Mon Apr 14 01:01:01 PDT 2014


Am Montag, den 14.04.2014, 10:02 +0800 schrieb Shawn Guo:
> In a board setup which disables LDB device node completely by changing
> status to 'disabled', and only enables HDMI device, we're running into
> the problem that imx-drm master never succeeds in binding, and hence
> HDMI does not come up either.
> 
> &ldb {
> 	status = "disabled";
> 
> 	lvds-channel at 1 {
> 		...
> 		status = "okay";
> 	};
> };
> 
> The imx-drm-core should really skip the LVDS channels no matter what
> lvds-channel's status is, if LDB device is disabled.  Let's consider
> such setup a misconfiguration, give a warning in there and not add the
> component.
> 
> Signed-off-by: Shawn Guo <shawn.guo at freescale.com>
> ---
> Changes since v1:
> * Put a warning on such misconfiguration

Acked-by: Philipp Zabel <p.zabel at pengutronix.de>





More information about the linux-arm-kernel mailing list