spi: cs42l43: Add speaker ID quirk for Dell XPS 13 DX13260 SKU 0E54
Subsystems (3)
PATCH 1/1 spi: cs42l43: Add speaker ID quirk for Dell XPS 13 DX13260 SKU 0E54
The Dell XPS 13 DX13260 is also sold with SKU 0E54, which has the same ACPI speaker ID layout as SKU 0E53: two pins in one GpioIo() while the spk-id-gpios _DSD property references only the first. Without the quirk the speaker ID is wrong (0), so there is no speaker audio and no amp firmware is loaded.
Add a DMI entry for SKU 0E54 using the same handler.
--- drivers/spi/spi-cs42l43.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/spi/spi-cs42l43.c +8 -0
@@ -301,6 +301,14 @@ static const struct dmi_system_id cs42l43_spk_id_quirks[] = { }, .driver_data = cs42l43_get_2bit_speaker_id_from_one_gpioio, }, + { + .ident = "Dell XPS 13 DX13260", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0E54"), + }, + .driver_data = cs42l43_get_2bit_speaker_id_from_one_gpioio, + }, { } };
Signature · 1 line
2.56.0
Quoted 23 lines · Jérémie Rodon
The Dell XPS 13 DX13260 is also sold with SKU 0E54, which has the same ACPI speaker ID layout as SKU 0E53: two pins in one
GpioIo()while the spk-id-gpios_DSDproperty references only the first. Without the quirk the speaker ID is wrong (0), so there is no speaker audio and no amp firmware is loaded.Add a DMI entry for SKU 0E54 using the same handler.
Fixes cad16d850e37 ("spi: cs42l43: Workaround for wrong speaker ID on Dell XPS 13 DX13260")Signed-off-by Jérémie Rodon <[email protected]>--- drivers/spi/spi-cs42l43.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/spi/spi-cs42l43.c +1
-0@@ -301,6 +301,14 @@ static const struct dmi_system_id cs42l43_spk_id_quirks[] = { }, .driver_data = cs42l43_get_2bit_speaker_id_from_one_gpioio, }, + {
drivers/spi/spi-cs42l43.c static const struct dmi_system_id cs42l43_spk_id_quirks[] = { · line 314
Quoted 10 lines
drivers/spi/spi-cs42l43.c +7
-0+ .ident = "Dell XPS 13 DX13260", + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc" ), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0E54"), + }, + .driver_data = cs42l43_get_2bit_speaker_id_from_one_gpioio, + }, { } };
Mark Brown
maintainerQuoted 1 line · Jérémie Rodon
spi: cs42l43: Add speaker ID quirk for Dell XPS 13 DX13260 SKU 0E54
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-7.4
Thanks!
[1/1] spi: cs42l43: Add speaker ID quirk for Dell XPS 13 DX13260 SKU 0E54
https://git.kernel.org/broonie/spi/c/7da2aca12375
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark