aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOswald Buddenhagen <[email protected]>2023-05-17 18:48:00 +0200
committerTakashi Iwai <[email protected]>2023-05-17 22:10:57 +0200
commit9fe0731bc345230e8ce125056b9407c63960f74e (patch)
tree1097d65bb73a9ee25b1fbb09f85612dd75cf0a88 /tools/perf/scripts/python
parent216abe45cf4addba4e4c1eb2fae24762ffdefe9e (diff)
ALSA: emu10k1: remove runtime 64-bit divisions
32-bit platforms don't like these. As we're actually dealing with constants, factor out the calculations and pass them in as additional arguments. To keep the call sites clean, wrap the actual functions in macros which generate the arguments. Fixes: bb5ceb43b7bf ("ALSA: emu10k1: fix non-zero mixer control defaults in highres mode") Fixes: 1298bc978afb ("ALSA: emu10k1: enable bit-exact playback, part 1: DSP attenuation") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Reported-by: Linux Kernel Functional Testing <[email protected]> Reported-by: Christophe Leroy <[email protected]> Closes: https://lore.kernel.org/r/CA+G9fYsShNP=LALHdMd-Btx3PBtO_CjyBNgpStr9fPGXNbRvdg@mail.gmail.com 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