]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00219837-4 HDMI SabreAuto: Add HDMI_SDMA support for RIGEL TO1.1
authorChen Liangjun <b36089@freescale.com>
Wed, 8 Aug 2012 13:04:19 +0000 (21:04 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:10 +0000 (08:35 +0200)
Replace mx6q_version() check with hdmi_SDMA_check() to add support
for HDMI_SDMA in RIGEL TO1.1.

Signed-off-by: Chen Liangjun <b36089@freescale.com>
arch/arm/mach-mx6/board-mx6q_sabreauto.c

index ff031e4d1a5839385b4d10c2dab478e95a6c580a..3adf51f60c2f8a0ad0a49e5c6c4839ff5acbfeda 100644 (file)
@@ -56,6 +56,7 @@
 #include <linux/regulator/fixed.h>
 #include <linux/mxc_asrc.h>
 #include <sound/pcm.h>
+#include <linux/mfd/mxc-hdmi-core.h>
 
 #include <mach/common.h>
 #include <mach/hardware.h>
@@ -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);
 }