Skip to content
Commit 19adbe96 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Takashi Iwai
Browse files

ALSA: hda: generic: Remove obsolete call to ledtrig_audio_get



Since 64f67b52 ("leds: trigger: audio: Add an activate callback to
ensure the initial brightness is set") the audio triggers have an
activate callback which sets the LED brightness as soon as the
(default) trigger is bound to the LED device. So we can remove the
call to ledtrig_audio_get.

Positive side effect: We have no code dependency to ledtrig-audio any
longer, therefore, if built as module, it's no longer loaded if not
needed.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/3dc9167d-fb33-43a6-baa6-dbef8b5da7b9@gmail.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 3787ffdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment