mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
7877039f67
commit
aae1428c50
1 changed files with 1 additions and 0 deletions
|
@ -870,6 +870,7 @@ int hdmi5_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp,
|
||||||
audio_format.samples_per_word = HDMI_AUDIO_ONEWORD_TWOSAMPLES;
|
audio_format.samples_per_word = HDMI_AUDIO_ONEWORD_TWOSAMPLES;
|
||||||
audio_format.sample_size = HDMI_AUDIO_SAMPLE_16BITS;
|
audio_format.sample_size = HDMI_AUDIO_SAMPLE_16BITS;
|
||||||
audio_format.justification = HDMI_AUDIO_JUSTIFY_LEFT;
|
audio_format.justification = HDMI_AUDIO_JUSTIFY_LEFT;
|
||||||
|
audio_format.sample_order = HDMI_AUDIO_SAMPLE_LEFT_FIRST;
|
||||||
|
|
||||||
/* only LPCM atm */
|
/* only LPCM atm */
|
||||||
audio_format.type = HDMI_AUDIO_TYPE_LPCM;
|
audio_format.type = HDMI_AUDIO_TYPE_LPCM;
|
||||||
|
|
Loading…
Reference in a new issue