Unverified Commit e74c38ef authored by Simon Trimmer's avatar Simon Trimmer Committed by Mark Brown
Browse files

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: default avatarSimon Trimmer <simont@opensource.cirrus.com>
Link: https://patch.msgid.link/20260331131916.145546-1-simont@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e920c36f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -339,7 +339,7 @@ static struct snd_soc_acpi_mach *acp63_sdw_machine_select(struct device *dev)
			mach->mach_params.subsystem_device = acp_data->subsystem_device;
			mach->mach_params.subsystem_id_set = true;

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