aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-06-18 13:08:38 +0200
committerTakashi Iwai <tiwai@suse.de>2020-06-18 13:23:49 +0200
commit8d3d1ece311837591341544e458b2dd9628fe6e0 (patch)
tree39172249b58dbee0a33f6f5226c76b0e73dfcb57 /tools/perf/scripts/python/export-to-postgresql.py
parentALSA: hda: generic: Add vmaster mute LED helper (diff)
downloadlinux-dev-8d3d1ece311837591341544e458b2dd9628fe6e0.tar.xz
linux-dev-8d3d1ece311837591341544e458b2dd9628fe6e0.zip
ALSA: hda/realtek: Use the new vmaster mute LED helper
Convert the mute LED handling in Realtek codec to the new vmaster mute helper. A point to be cautiously handled is that the value passed to the callback is inverted; the vmaster passes "enabled" (0 = mute), while LED classdev passes "brightness" (1 = mute). The code in Thinkpad helper is also converted. In that case, just call the new function and remove the open-code. Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Link: https://lore.kernel.org/r/20200618110842.27238-10-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions