diff options
| author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2023-05-16 11:36:06 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2023-05-17 17:07:54 +0200 |
| commit | 511cbe8f59e30cd09a04c1dbafe6337d9111e88a (patch) | |
| tree | 45df928a6bf2844b76d8de11828e8f8bd08baee0 /tools/perf/scripts/python/bin/flamegraph-report | |
| parent | ALSA: emu10k1: make mixer control mass creation less wasteful (diff) | |
| download | linux-511cbe8f59e30cd09a04c1dbafe6337d9111e88a.tar.gz linux-511cbe8f59e30cd09a04c1dbafe6337d9111e88a.zip | |
ALSA: emu10k1: un-hardcode E-MU mixer control callbacks somewhat
Instead of hard-coding the card-specific arrays and their sizes in each
function, use a more data-driven approach.
As a drive-by, also hide the unavailable I2S input destinations on the
1616 cardbus card.
Also as a drive-by, use more assignments at variable declaration for
brevity. This also removes the pointless masking of kctl.private_value.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230516093612.3536508-5-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions
