aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRichard Fitzgerald <[email protected]>2024-01-24 11:26:06 +0000
committerTakashi Iwai <[email protected]>2024-01-25 10:02:48 +0100
commitcf0d956635e7dabc5e85f100e37a1d64a48becb4 (patch)
tree75345e225303dd42ea39513880c8ee229f7d4329 /tools/perf/scripts/python/stackcollapse.py
parent1ac1b4b79bf51edcf4f25a1980334bd467880e7d (diff)
ALSA: hda: realtek: Re-work CS35L41 fixups to re-use for other amps
Slightly re-work the code around cs35l41_generic_fixup() and the component binding search so that it can be re-used for other amps that use the component binding mechanism. The match string is stored in struct scodec_dev_name instead of hardcoding it in the match function. The tas2781 does not use the amp index as part of the driver name match. But its match format string does not include a field for the index, so snprintf() would safely ignore the p->index argument. Because of this there is no need for a special match function for this case, the CS35L41 code can be re-used. Signed-off-by: Richard Fitzgerald <[email protected]> Tested-by: Gergo Koteles <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions