Commit ee653d2d authored by PaddyKP_Yao's avatar PaddyKP_Yao Committed by Hans de Goede

platform/x86: asus-wmi: Fix the name of the mic-mute LED classdev

According to well-known-leds.txt, we should use "platform::micmute"
instead of "asus::micmute" for the name of the mic-mute LED classdev.
Signed-off-by: default avatarPaddyKP_Yao <PaddyKP_Yao@asus.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220825004305.709539-1-PaddyKP_Yao@asus.comReviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 6b2caaaf
...@@ -1118,7 +1118,7 @@ static int asus_wmi_led_init(struct asus_wmi *asus) ...@@ -1118,7 +1118,7 @@ static int asus_wmi_led_init(struct asus_wmi *asus)
} }
if (asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_MICMUTE_LED)) { if (asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_MICMUTE_LED)) {
asus->micmute_led.name = "asus::micmute"; asus->micmute_led.name = "platform::micmute";
asus->micmute_led.max_brightness = 1; asus->micmute_led.max_brightness = 1;
asus->micmute_led.brightness = ledtrig_audio_get(LED_AUDIO_MICMUTE); asus->micmute_led.brightness = ledtrig_audio_get(LED_AUDIO_MICMUTE);
asus->micmute_led.brightness_set_blocking = micmute_led_set; asus->micmute_led.brightness_set_blocking = micmute_led_set;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment