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

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Apr 18 13:42:49 PDT 2014


On Mon, Apr 14, 2014 at 10:02:26AM +0800, Shawn Guo wrote:
> 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

Thanks Shawn, I've added it to my queue for Greg.

-- 
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.



More information about the linux-arm-kernel mailing list