From: Chen Liangjun Date: Wed, 8 Aug 2012 13:04:19 +0000 (+0800) Subject: ENGR00219837-4 HDMI SabreAuto: Add HDMI_SDMA support for RIGEL TO1.1 X-Git-Tag: v3.0.35-fsl~637 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4f1e36b7ef3bcb1da6560ae982583b6bd5c07a23;p=karo-tx-linux.git ENGR00219837-4 HDMI SabreAuto: Add HDMI_SDMA support for RIGEL TO1.1 Replace mx6q_version() check with hdmi_SDMA_check() to add support for HDMI_SDMA in RIGEL TO1.1. Signed-off-by: Chen Liangjun --- diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c index ff031e4d1a58..3adf51f60c2f 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c +++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c @@ -56,6 +56,7 @@ #include #include #include +#include #include #include @@ -912,7 +913,7 @@ static void hdmi_init(int ipu_id, int disp_id) mxc_iomux_set_gpr_register(3, 2, 2, hdmi_mux_setting); /* Set HDMI event as SDMA event2 while Chip version later than TO1.2 */ - if ((mx6q_revision() > IMX_CHIP_REVISION_1_1)) + if (hdmi_SDMA_check()) mxc_iomux_set_gpr_register(0, 0, 1, 1); }