aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-05-17 11:36:15 +0200
committerTakashi Iwai <tiwai@suse.de>2017-05-17 11:36:48 +0200
commitbd3dbd8aee03df1c0eaf3d339dfc6eb1039729fa (patch)
treede18519e3d76e6046d79eb3d47300bceee50f38a
parent4b0ae98622adce0a182a2540e16f087e96308453 (diff)
downloadhda-emu-bd3dbd8aee03df1c0eaf3d339dfc6eb1039729fa.tar.gz
Add a dummy function for the new dell micmute API
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/linux/dell-led.h4
-rw-r--r--snd-wrapper.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/dell-led.h b/include/linux/dell-led.h
index 7009b8b..27a938b 100644
--- a/include/linux/dell-led.h
+++ b/include/linux/dell-led.h
@@ -5,6 +5,10 @@ enum {
DELL_LED_MICMUTE,
};
+/* old API */
int dell_app_wmi_led_set(int whichled, int on);
+/* new API */
+int dell_micmute_led_set(int on);
+
#endif
diff --git a/snd-wrapper.c b/snd-wrapper.c
index 2747bd0..0bcd233 100644
--- a/snd-wrapper.c
+++ b/snd-wrapper.c
@@ -746,6 +746,11 @@ int dell_app_wmi_led_set(int whichled, int on)
return 0;
}
+int dell_micmute_led_set(int led)
+{
+ hda_log(HDA_LOG_INFO, "Setting Dell LED to %d\n", led);
+}
+
/*
* dummy entries just for builds
*/