summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorMisael Lopez Cruz <misael.lopez@ti.com>2015-04-22 09:22:58 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-06-03 07:33:54 -0400
commitaae1428c5060055b3ba7d38116aa8505f6b9e168 (patch)
treeab0ebad72e853cb13b5bd8c44d6b55a18318e17a /drivers/video
parent7877039f67abad68c01583c413667889f0d25584 (diff)
OMAPDSS: HDMI5: Set valid sample order
As per TRM, HDMI_WP_AUDIO_CFG[2] LEFT_BEFORE = 0 is reserved, so it must always be set to 1 (the first sample is the left). Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com> Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/omap2/dss/hdmi5_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi5_core.c b/drivers/video/fbdev/omap2/dss/hdmi5_core.c
index bfc0c4c297d6..d96a63d84bfb 100644
--- a/drivers/video/fbdev/omap2/dss/hdmi5_core.c
+++ b/drivers/video/fbdev/omap2/dss/hdmi5_core.c
@@ -870,6 +870,7 @@ int hdmi5_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp,
870 audio_format.samples_per_word = HDMI_AUDIO_ONEWORD_TWOSAMPLES; 870 audio_format.samples_per_word = HDMI_AUDIO_ONEWORD_TWOSAMPLES;
871 audio_format.sample_size = HDMI_AUDIO_SAMPLE_16BITS; 871 audio_format.sample_size = HDMI_AUDIO_SAMPLE_16BITS;
872 audio_format.justification = HDMI_AUDIO_JUSTIFY_LEFT; 872 audio_format.justification = HDMI_AUDIO_JUSTIFY_LEFT;
873 audio_format.sample_order = HDMI_AUDIO_SAMPLE_LEFT_FIRST;
873 874
874 /* only LPCM atm */ 875 /* only LPCM atm */
875 audio_format.type = HDMI_AUDIO_TYPE_LPCM; 876 audio_format.type = HDMI_AUDIO_TYPE_LPCM;