diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-05-17 11:36:15 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-05-17 11:36:48 +0200 |
commit | bd3dbd8aee03df1c0eaf3d339dfc6eb1039729fa (patch) | |
tree | de18519e3d76e6046d79eb3d47300bceee50f38a | |
parent | 4b0ae98622adce0a182a2540e16f087e96308453 (diff) | |
download | hda-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.h | 4 | ||||
-rw-r--r-- | snd-wrapper.c | 5 |
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 */ |