Skip to content

Commit e74c38e

Browse files
simontrimmerbroonie
authored andcommitted
ASoC: amd: ps: Fix missing leading zeros in subsystem_device SSID log
Ensure that subsystem_device is printed with leading zeros when combined with subsystem_vendor to form the SSID. Without this, devices with upper bits unset may appear to have an incorrect SSID in the debug output. Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com> Link: https://patch.msgid.link/20260331131916.145546-1-simont@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent e920c36 commit e74c38e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/amd/ps/pci-ps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ static struct snd_soc_acpi_mach *acp63_sdw_machine_select(struct device *dev)
339339
mach->mach_params.subsystem_device = acp_data->subsystem_device;
340340
mach->mach_params.subsystem_id_set = true;
341341

342-
dev_dbg(dev, "SSID %x%x\n", mach->mach_params.subsystem_vendor,
342+
dev_dbg(dev, "SSID %x%04x\n", mach->mach_params.subsystem_vendor,
343343
mach->mach_params.subsystem_device);
344344
return mach;
345345
}

0 commit comments

Comments
 (0)