Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1af14e4 authored by Roel Kluin's avatar Roel Kluin Committed by Len Brown
Browse files

asus-laptop: add parentheses



'!' has a higher priority than '&': bitanding has no effect.

Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent f8d1c94b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -327,7 +327,7 @@ static void write_status(acpi_handle handle, int out, int mask)


	switch (mask) {
	switch (mask) {
	case MLED_ON:
	case MLED_ON:
		out = !out & 0x1;
		out = !(out & 0x1);
		break;
		break;
	case GLED_ON:
	case GLED_ON:
		out = (out & 0x1) + 1;
		out = (out & 0x1) + 1;