summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-08-08 21:04:19 +0800
committerEric Nelson <eric.nelson@boundarydevices.com>2012-10-12 07:11:39 -0700
commit98c9d8eddfa178bb2ea44427d0e6353b66dffab4 (patch)
tree92050ee4cf3e881b674a6742b9ae7550ef34bacb /arch
parent5c01afe683f34b497078f9619f89df8f339fcc9d (diff)
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 <b36089@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabreauto.c3
1 files changed, 2 insertions, 1 deletions
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 <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);
}