Skip to content

Commit

Permalink
ASoC: imx-hdmi-dma: Set validity bit in HDMI according to channel sta…
Browse files Browse the repository at this point in the history
…tus.

Signed-off-by: Rudi <[email protected]>
  • Loading branch information
warped-rudi authored and linux4kix committed Aug 12, 2014
1 parent 5efc823 commit 012b236
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/soc/fsl/imx-hdmi-dma.c
Original file line number Diff line number Diff line change
@@ -239,6 +239,9 @@ static u32 hdmi_dma_add_frame_info(struct hdmi_dma_priv *priv,
else
subframe.B.c = 0;

/* fill v (validity) */
subframe.B.v = iec_header.B.linear_pcm;

subframe.B.p = odd_ones(pcm_data);
subframe.B.p ^= subframe.B.c;
subframe.B.p ^= subframe.B.u;

0 comments on commit 012b236

Please sign in to comment.