diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2021-03-17 04:56:23 -0700 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2021-03-19 14:02:47 +0000 |
commit | ad11fc8c236fca5283ed500d87504543f2768312 (patch) | |
tree | a21224936eb04307d324fa4906f5270d6384e1d8 /package/kernel/linux/modules | |
parent | 66fd9acf5036bb721d0e33b1bc31a43dac0cdc2a (diff) | |
download | upstream-ad11fc8c236fca5283ed500d87504543f2768312.tar.gz upstream-ad11fc8c236fca5283ed500d87504543f2768312.tar.bz2 upstream-ad11fc8c236fca5283ed500d87504543f2768312.zip |
kernel: add kmod-ledtrig-audio
This allows LEDs to be controlled by audio drivers.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r-- | package/kernel/linux/modules/leds.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk index 2e5a56df1a..4dde833664 100644 --- a/package/kernel/linux/modules/leds.mk +++ b/package/kernel/linux/modules/leds.mk @@ -38,6 +38,21 @@ endef $(eval $(call KernelPackage,ledtrig-activity)) +define KernelPackage/ledtrig-audio + SUBMENU:=$(LEDS_MENU) + TITLE:=LED Audio Mute Trigger + KCONFIG:=CONFIG_LEDS_TRIGGER_AUDIO + FILES:=$(LED_TRIGGER_DIR)/ledtrig-audio.ko + AUTOLOAD:=$(call AutoLoad,50,ledtrig-audio) +endef + +define KernelPackage/ledtrig-audio/description + Kernel module that allows LEDs to be controlled by audio drivers + to follow audio mute and mic-mute changes. +endef + +$(eval $(call KernelPackage,ledtrig-audio)) + define KernelPackage/ledtrig-gpio SUBMENU:=$(LEDS_MENU) TITLE:=LED GPIO Trigger |