summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/regs-hdmi.h
diff options
context:
space:
mode:
authorSylwester Nawrocki2018-02-14 18:23:56 +0100
committerInki Dae2018-02-20 02:51:36 +0100
commitc84b66f8aa3f879dbf41353f677d87875f5fc6c9 (patch)
tree5fa26ffdf227beb994ffae04adca5f6ed061ad73 /drivers/gpu/drm/exynos/regs-hdmi.h
parentdrm/exynos: remove exynos_drm_rotator.h (diff)
downloadkernel-qcow2-linux-c84b66f8aa3f879dbf41353f677d87875f5fc6c9.tar.gz
kernel-qcow2-linux-c84b66f8aa3f879dbf41353f677d87875f5fc6c9.tar.xz
kernel-qcow2-linux-c84b66f8aa3f879dbf41353f677d87875f5fc6c9.zip
drm: exynos: Use proper macro definition for HDMI_I2S_PIN_SEL_1
Bit field [2:0] of HDMI_I2S_PIN_SEL_1 corresponds to SDATA_0, not SDATA_2. This patch removes redefinition of HDMI_I2S_SEL_DATA2 constant and adds missing HDMI_I2S_SEL_DATA0. The value of bit field selecting SDATA_1 (pin_sel_3) is also changed, so it is 3 as suggested in the Exynos TRMs. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/regs-hdmi.h')
-rw-r--r--drivers/gpu/drm/exynos/regs-hdmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/regs-hdmi.h b/drivers/gpu/drm/exynos/regs-hdmi.h
index 04be0f7e8193..4420c203ac85 100644
--- a/drivers/gpu/drm/exynos/regs-hdmi.h
+++ b/drivers/gpu/drm/exynos/regs-hdmi.h
@@ -464,7 +464,7 @@
/* I2S_PIN_SEL_1 */
#define HDMI_I2S_SEL_SDATA1(x) (((x) & 0x7) << 4)
-#define HDMI_I2S_SEL_SDATA2(x) ((x) & 0x7)
+#define HDMI_I2S_SEL_SDATA0(x) ((x) & 0x7)
/* I2S_PIN_SEL_2 */
#define HDMI_I2S_SEL_SDATA3(x) (((x) & 0x7) << 4)