aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2018-09-04 17:58:34 +0200
committerGreg Kroah-Hartman <[email protected]>2018-09-10 11:14:58 +0200
commita97962111e6710adb127bff28092236687b742c3 (patch)
treeb8c368603c8beabd8982624461438aab83b374b5 /tools/perf/scripts/python/bin/stackcollapse-report
parent51002248a68f2d7e4fcd254c9ae726ab6f40c71e (diff)
staging: bcm2835-audio: Fix mute controls, volume handling cleanup
In the current code, the mute control is dealt in a special manner, modifying the current volume and saving the old volume, etc. This is inconsistent (e.g. change the volume while muted, then unmute), and way too complex. Also, the whole volume handling code has conversion between ALSA volume and raw volume values, which can lead to another inconsistency and complexity. This patch simplifies these points: - The ALSA volume value is saved in chip->volume - volume->mute saves the mute state - The mute state is evaluated only when the actual volume is passed to the hardware, bcm2835_audio_set_ctls() Signed-off-by: Takashi Iwai <[email protected]> Tested-by: Stefan Wahren <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions