Commit c458b92
committed
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>
---
v2:
- rename get_hwid to get_pci_dev
- update commit message1 parent e6fe84e commit c458b92
1 file changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
1171 | 1172 | | |
1172 | 1173 | | |
1173 | 1174 | | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
1174 | 1186 | | |
1175 | 1187 | | |
| 1188 | + | |
| 1189 | + | |
1176 | 1190 | | |
1177 | 1191 | | |
1178 | 1192 | | |
1179 | 1193 | | |
1180 | 1194 | | |
1181 | 1195 | | |
1182 | 1196 | | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
1183 | 1204 | | |
1184 | 1205 | | |
1185 | 1206 | | |
| |||
1190 | 1211 | | |
1191 | 1212 | | |
1192 | 1213 | | |
| 1214 | + | |
1193 | 1215 | | |
1194 | | - | |
| 1216 | + | |
| 1217 | + | |
1195 | 1218 | | |
1196 | 1219 | | |
1197 | 1220 | | |
| |||
0 commit comments