public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ASoC: amd: ps: Fix missing leading zeros in subsystem_device SSID log
@ 2026-03-31 13:19 Simon Trimmer
  2026-04-01 12:09 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Trimmer @ 2026-03-31 13:19 UTC (permalink / raw)
  To: broonie; +Cc: linux-sound, linux-kernel, patches, Vijendar.Mukunda,
	Simon Trimmer

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>
---
v2: Correct mising width for the zero padding

 sound/soc/amd/ps/pci-ps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c
index 3a20cc10d61f5..9751cf0784a6d 100644
--- a/sound/soc/amd/ps/pci-ps.c
+++ b/sound/soc/amd/ps/pci-ps.c
@@ -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;
 		}
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] ASoC: amd: ps: Fix missing leading zeros in subsystem_device SSID log
  2026-03-31 13:19 [PATCH v2] ASoC: amd: ps: Fix missing leading zeros in subsystem_device SSID log Simon Trimmer
@ 2026-04-01 12:09 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2026-04-01 12:09 UTC (permalink / raw)
  To: Simon Trimmer; +Cc: linux-sound, linux-kernel, patches, Vijendar.Mukunda

On Tue, 31 Mar 2026 13:19:16 +0000, Simon Trimmer wrote:
> ASoC: amd: ps: Fix missing leading zeros in subsystem_device SSID log

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.0

Thanks!

[1/1] ASoC: amd: ps: Fix missing leading zeros in subsystem_device SSID log
      https://git.kernel.org/broonie/sound/c/e74c38ef6f17

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-01 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 13:19 [PATCH v2] ASoC: amd: ps: Fix missing leading zeros in subsystem_device SSID log Simon Trimmer
2026-04-01 12:09 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox