• fetching audio firmware • providing a default pipewire config Hopefully in the future, both of these can be kernel version gated as everything is mainlined.
21 lines
799 B
Diff
21 lines
799 B
Diff
diff --git a/sound/soc/codecs/tas2783-sdw.c b/sound/soc/codecs/tas2783-sdw.c
|
|
--- a/sound/soc/codecs/tas2783-sdw.c
|
|
+++ b/sound/soc/codecs/tas2783-sdw.c
|
|
@@ -1120,7 +1120,7 @@ static void tas_generate_fw_name(struct sdw_slave *slave, char *name, size_t siz
|
|
for (; dev; dev = dev->parent) {
|
|
if (dev->bus == &pci_bus_type) {
|
|
pci = to_pci_dev(dev);
|
|
- scnprintf(name, size, "%04X-%1X-%1X.bin",
|
|
+ scnprintf(name, size, "%04X-%1X-0x%X.bin",
|
|
pci->subsystem_device, bus->link_id, unique_id);
|
|
pci_found = true;
|
|
break;
|
|
@@ -1129,7 +1129,7 @@ static void tas_generate_fw_name(struct sdw_slave *slave, char *name, size_t siz
|
|
#endif
|
|
|
|
if (!pci_found)
|
|
- scnprintf(name, size, "tas2783-%1X-%1X.bin",
|
|
+ scnprintf(name, size, "tas2783-%1X-0x%X.bin",
|
|
bus->link_id, unique_id);
|
|
}
|
|
|