Skip to content

Commit 8d38e42

Browse files
iksaifMatthew Garrett
authored andcommitted
asus-laptop: hide leds on Pegatron Lucid
Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
1 parent b23910c commit 8d38e42

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎drivers/platform/x86/asus-laptop.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,13 @@ static int asus_led_init(struct asus_laptop *asus)
628628
{
629629
int r;
630630

631+
/*
632+
* The Pegatron Lucid has no physical leds, but all methods are
633+
* available in the DSDT...
634+
*/
635+
if (asus->is_pega_lucid)
636+
return 0;
637+
631638
/*
632639
* Functions that actually update the LED's are called from a
633640
* workqueue. By doing this as separate work rather than when the LED

0 commit comments

Comments
 (0)