Skip to content

Commit

Permalink
hdmitx: clean up deadcode
Browse files Browse the repository at this point in the history
PD#151236: driver defect clean up:
torvalds#252
torvalds#270~283

Change-Id: I009c06dcb14bd3fb686c46a155418093bc7f7514
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
  • Loading branch information
Yi Zhou authored and akiernan committed Nov 3, 2022
1 parent 876fd13 commit 07c4889
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,10 @@ static void hdmi_tx_construct_aud_packet(
} else {
;
}
AUD_DB[0] = AUD_DB[0] & 0xf;/*bit[7:4] always set to 0 in HDMI*/
AUD_DB[1] = 0; /*always set to 0 in HDMI*/
if (AUD_DB) {
AUD_DB[0] = AUD_DB[0] & 0xf;/*bit[7:4] always set to 0 in HDMI*/
AUD_DB[1] = 0; /*always set to 0 in HDMI*/
}
#endif
}

Expand Down

0 comments on commit 07c4889

Please sign in to comment.