diff options
| author | Pierre-Louis Bossart <[email protected]> | 2021-05-11 14:01:37 +0800 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2021-05-11 17:26:56 +0530 |
| commit | 9c294739cf5bdb6c613f23dff099e44ac9d722a4 (patch) | |
| tree | 0ff3cb59a96913e99abde2695f78b287ac0fc13e /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) | |
soundwire/ASoC: add leading zeroes in peripheral device name
We recently added leading zeroes in dev_dbg() messages but forgot to
do the same for the peripheral device name. Adding leading zeroes
makes it easier to read manufacturer ID and part ID, e.g.:
sdw:0:025d:0700:00
sdw:0:025d:0711:00
sdw:1:025d:0700:00
sdw:1:025d:1308:00
sdw:2:025d:0700:00
sdw:2:025d:0701:00
sdw:3:025d:0700:00
sdw:3:025d:0715:00
The use of '01x' for link_id and unique_id is intentional to show the
value range in the code, it's understood it does not actually change
the format.
To avoid problems with git bisect, the same change needs to be applied
to the Intel SoundWire machine driver, otherwise the components can't
be found and the card registration fails.
Tested-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Acked-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions