summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-08-08 21:00:01 +0800
committerChen Liangjun <b36089@freescale.com>2012-08-09 16:55:11 +0800
commitb84559b7b277aaad9161c53916b85df1b8167c54 (patch)
treebc1328c38d868ffd19aec1b296f7071bbf9a623a /arch
parente9aba4ccd0a4036092b5311247c926be3643d24c (diff)
ENGR00219837-2 HDMI ARM2: 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_arm2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_arm2.c b/arch/arm/mach-mx6/board-mx6q_arm2.c
index 5d9600dc8db9..5ed27159a842 100644
--- a/arch/arm/mach-mx6/board-mx6q_arm2.c
+++ b/arch/arm/mach-mx6/board-mx6q_arm2.c
@@ -53,6 +53,7 @@
#include <linux/mfd/max17135.h>
#include <sound/pcm.h>
#include <linux/mxc_asrc.h>
+#include <linux/mfd/mxc-hdmi-core.h>
#include <mach/common.h>
@@ -1412,7 +1413,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);
}