mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 21:15:53 +02:00
ASoC: hdmi-codec: Fix "ELD Bypass Switch"
CA info should be ignored in the ELD Bypass Situation.
Fixes: c6c61f8679 ("ASoC: hdmi-codec: Add option for ELD bypass")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I02265570ebcf4d17558b604644dcf5e9425f06cb
This commit is contained in:
parent
44484c9fcf
commit
eff4833be1
|
|
@ -352,6 +352,9 @@ static int hdmi_codec_get_ch_alloc_table_idx(struct hdmi_codec_priv *hcp,
|
|||
unsigned long spk_mask;
|
||||
const struct hdmi_codec_cea_spk_alloc *cap = hdmi_codec_channel_alloc;
|
||||
|
||||
if (hcp->eld_bypass)
|
||||
return 0;
|
||||
|
||||
spk_alloc = drm_eld_get_spk_alloc(hcp->eld);
|
||||
spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user