mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 17:26:38 +07:00
asus-laptop: add parentheses
'!' has a higher priority than '&': bitanding has no effect. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
f8d1c94b34
commit
e1af14e4b3
@ -327,7 +327,7 @@ static void write_status(acpi_handle handle, int out, int mask)
|
||||
|
||||
switch (mask) {
|
||||
case MLED_ON:
|
||||
out = !out & 0x1;
|
||||
out = !(out & 0x1);
|
||||
break;
|
||||
case GLED_ON:
|
||||
out = (out & 0x1) + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user