On Sat, Jun 30, 2018 at 3:11 AM, João Paulo Rechi Vita <jprvita@xxxxxxxxx> wrote: > This commit makes use of a newly implemented RFKill LED trigger to > trigger the LED when all radios are blocked. > Pushed to my review and testing queue, thanks! P.S. Should it have Fixes tag and possible go to stable? > Signed-off-by: João Paulo Rechi Vita <jprvita@xxxxxxxxxxxx> > --- > drivers/platform/x86/asus-wireless.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/platform/x86/asus-wireless.c b/drivers/platform/x86/asus-wireless.c > index b8e35a8d65cf..7458f7602d5e 100644 > --- a/drivers/platform/x86/asus-wireless.c > +++ b/drivers/platform/x86/asus-wireless.c > @@ -170,6 +170,7 @@ static int asus_wireless_add(struct acpi_device *adev) > data->led.brightness_get = led_state_get; > data->led.flags = LED_CORE_SUSPENDRESUME; > data->led.max_brightness = 1; > + data->led.default_trigger = "rfkill-none"; > err = devm_led_classdev_register(&adev->dev, &data->led); > if (err) > destroy_workqueue(data->wq); > -- > 2.18.0 > -- With Best Regards, Andy Shevchenko