
On Tue, Jul 23, 2013 at 3:33 PM, Otavio Salvador otavio@ossystems.com.brwrote:
On Tue, Jul 23, 2013 at 7:07 PM, Robert Winkler robert.winkler@boundarydevices.com wrote:
--- a/arch/arm/imx-common/cmd_hdmidet.c +++ b/arch/arm/imx-common/cmd_hdmidet.c @@ -27,8 +27,7 @@ static int do_hdmidet(cmd_tbl_t *cmdtp, int flag, int argc, char *
const argv[])
{ struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR;
u8 reg = readb(&hdmi->phy_stat0) & HDMI_PHY_HPD;
return (reg&HDMI_PHY_HPD) ? 0 : 1;
return (readb(&hdmi->phy_stat0) & HDMI_DVI_STAT) ? 0 : 1;
}
Does this depends on other boards to do similar commit in their kernel trees?
This change only affects people who enable and use the hdmidet command. This has nothing to do with the kernel. The kernel patch mentioned in the commit message just fixes the same problem for the kernel.
Incidentally, I just grepped for CONFIG_CMD_HDMIDETECT and I don't see it documented anywhere. It should probably be added to the README
-- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Robert