diff options
author | Kai Vehmanen <[email protected]> | 2019-11-15 14:44:47 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2019-11-15 14:18:09 +0100 |
commit | d577cf76fa3192f9e656bb101aa54d25a6a71347 (patch) | |
tree | 5fc0a9384f577504ef7361388c235988484bc0a0 /tools/lib/api/debug.c | |
parent | f35ef592477c5347b8f780a5f0d4970671e22c61 (diff) |
ALSA: hda: hdmi - fix port numbering for ICL and TGL platforms
Semantics of port#0 differ between ICL and TGL:
ICL port#0 -> never used for HDAudio
ICL port#1 -> should be mapped to first pin (0x04)
TGL port#0 -> typically not used, but HW has the support,
so should be mapped to first pin (0x04)
TGL port#1 -> should be mapped to 2nd pin (0x06)
Refactor the port mapping logic to allow to take the above
differences into account. Fixes issues with HDAudio on some
TGL platforms.
Co-developed-by: Pan Xiuli <[email protected]>
Signed-off-by: Pan Xiuli <[email protected]>
Signed-off-by: Kai Vehmanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions