diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-08-05 08:45:45 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-08-05 08:45:45 +0200 |
commit | 7db838f538bb53414c179cb6c25d9434904f2279 (patch) | |
tree | f59348f3a910fe9ed93cf697a61af541b7d5878a | |
parent | 1679001a0c46c4fab52bfe3f2c7e040505de1f9e (diff) | |
download | hda-emu-7db838f538bb53414c179cb6c25d9434904f2279.tar.gz |
Add Dell LED support wrapper
-rw-r--r-- | include/linux/dell-led.h | 10 | ||||
-rw-r--r-- | snd-wrapper.c | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/dell-led.h b/include/linux/dell-led.h new file mode 100644 index 0000000..7009b8b --- /dev/null +++ b/include/linux/dell-led.h @@ -0,0 +1,10 @@ +#ifndef __DELL_LED_H__ +#define __DELL_LED_H__ + +enum { + DELL_LED_MICMUTE, +}; + +int dell_app_wmi_led_set(int whichled, int on); + +#endif diff --git a/snd-wrapper.c b/snd-wrapper.c index 8305599..986c91d 100644 --- a/snd-wrapper.c +++ b/snd-wrapper.c @@ -727,6 +727,11 @@ int tpacpi_led_set(int whichled, bool on) return 0; } +int dell_app_wmi_led_set(int whichled, int on) +{ + hda_log(HDA_LOG_INFO, "Setting Dell LED %d to %s\n", whichled, on ? "on" : "off" ); + return 0; +} /* * dummy entries just for builds |