Message ID | 20210221113029.103703-3-hdegoede@redhat.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 2601371e1082ca30577556d381afacc11a11157b |
Delegated to: | Jiri Kosina |
Headers | show |
Series | HID: elan: Mute LED handling fixes and improvements | expand |
diff --git a/drivers/hid/hid-elan.c b/drivers/hid/hid-elan.c index 473d8528319d..5173f50d474d 100644 --- a/drivers/hid/hid-elan.c +++ b/drivers/hid/hid-elan.c @@ -460,6 +460,7 @@ static int elan_init_mute_led(struct hid_device *hdev) struct led_classdev *mute_led = &drvdata->mute_led; mute_led->name = "elan:red:mute"; + mute_led->default_trigger = "audio-mute"; mute_led->brightness_get = elan_mute_led_get_brigtness; mute_led->brightness_set_blocking = elan_mute_led_set_brigtness; mute_led->max_brightness = LED_ON;