soundwire: dmi-quirks: add remapping for HP Omen 16-k0005TX
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 23 Aug 2022 03:09:19 +0000 (11:09 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Aug 2022 16:57:12 +0000 (22:27 +0530)
commitdf55100551a34bddab02dff48d0296bda0659c02
tree1516d5e7d381148f99d6d04d6affc6ac622ac693
parentadc62cbd6b2108c592e09b9af8071ff93f160c71
soundwire: dmi-quirks: add remapping for HP Omen 16-k0005TX

The DSDT for this device has a number of problems:
a) it lists rt711 on link0 and link1, but link1 is disabled
b) the rt711 entry on link0 uses the wrong v2 instead of v3 (SDCA)
c) the rt1316 amplifier on link3 is not listed.

Add a remapping table to work-around these BIOS shenanigans.

BugLink: https://github.com/thesofproject/sof/issues/5955
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220823030919.2346629-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/dmi-quirks.c