Skip to content

Commit

Permalink
OMAPDSS: hdmi5: Fix bit field for IEC958_AES2_CON_SOURCE
Browse files Browse the repository at this point in the history
The bit field for IEC958_AES2_CON_SOURCE is bits 3-0 in
HDMI_CORE_FC_AUDSCHNLS2, not imaginary bits 3-4 (reverse order).

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Jyri Sarha authored and Tomi Valkeinen committed Dec 4, 2014
1 parent 39c1b7b commit f3b7d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/omap2/dss/hdmi5_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ static void hdmi5_core_audio_config(struct hdmi_core_data *core,

/* Source number */
val = cfg->iec60958_cfg->status[2] & IEC958_AES2_CON_SOURCE;
REG_FLD_MOD(base, HDMI_CORE_FC_AUDSCHNLS(2), val, 3, 4);
REG_FLD_MOD(base, HDMI_CORE_FC_AUDSCHNLS(2), val, 3, 0);

/* Channel number right 0 */
REG_FLD_MOD(base, HDMI_CORE_FC_AUDSCHNLS(3), 2, 3, 0);
Expand Down

0 comments on commit f3b7d0e

Please sign in to comment.