]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoc: tas2783A: fw name based on system details
authorNiranjan H Y <niranjan.hy@ti.com>
Mon, 15 Dec 2025 15:32:16 +0000 (21:02 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Dec 2025 08:21:48 +0000 (08:21 +0000)
commit2bc4b4f77cb70df3ef05b80d0cb19edba17f04a6
tree53c16404bc58bd65ad9fa23258aea6e35dad84f8
parentce65a90222e94eec1e5b7d0224b4d647af644cdc
ASoc: tas2783A: fw name based on system details

  The firmware file for tas2783A contains the device
and algorithm settings. So the firmware files are unique
for a system and driver should have the ability to
distinctly identify and pick the right firmware.

This commit adds the method to uniquely identify the
firmware for a system based on the below format.
 <Subsystem>-<Link>-<Unique>.bin

* Subsystem is the PCI device subsystem-id
* Link is the SoundWire link id on which the device recides.
* Unique is the SoundWire slave unique id in the system.

Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
Link: https://patch.msgid.link/20251215153219.810-5-niranjan.hy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2783-sdw.c