mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
asus-laptop: hide leds on Pegatron Lucid
Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
b23910c219
commit
8d38e42c61
@ -628,6 +628,13 @@ static int asus_led_init(struct asus_laptop *asus)
|
||||
{
|
||||
int r;
|
||||
|
||||
/*
|
||||
* The Pegatron Lucid has no physical leds, but all methods are
|
||||
* available in the DSDT...
|
||||
*/
|
||||
if (asus->is_pega_lucid)
|
||||
return 0;
|
||||
|
||||
/*
|
||||
* Functions that actually update the LED's are called from a
|
||||
* workqueue. By doing this as separate work rather than when the LED
|
||||
|
Loading…
Reference in New Issue
Block a user