aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOswald Buddenhagen <[email protected]>2023-05-16 11:36:06 +0200
committerTakashi Iwai <[email protected]>2023-05-17 17:07:54 +0200
commit511cbe8f59e30cd09a04c1dbafe6337d9111e88a (patch)
tree45df928a6bf2844b76d8de11828e8f8bd08baee0 /tools/perf/scripts/python
parent536438f1def68eb56fe611c07d2a6ec73ab4a5b1 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions