aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-06-18 13:08:41 +0200
committerTakashi Iwai <[email protected]>2020-06-18 13:24:21 +0200
commit766538ac4af8c833990a563ed98a04a6ea5f6407 (patch)
treef10145f1199a2c2809369edd9efbff752b7c27a7 /tools/perf/scripts/python
parentd1d37c572cf0a10a3046e6df76f65486dc2a8ee8 (diff)
ALSA: hda/realtek: Unify LED helper code
Both mute and mic-mute LED callbacks do almost similar tasks with just different bits. Factor out the common code and use them from the callbacks for simplification. This ended up with covering the forgotten stuff, too; e.g. VREF LED handling required the temporary power up/down that was missing for the mute LED, or some forgotten polarity checks are added. Tested-by: Kai-Heng Feng <[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