fix tablet mode detection

This commit is contained in:
Jake Day 2017-11-28 19:14:42 -05:00
parent 1a0d8dd9a2
commit dbd4bc1742

View file

@ -297,7 +297,7 @@ static int hp_wmi_hw_state(int mask)
if (state < 0)
return state;
return state & 0x1;
return !!(state & mask);
}
static int __init hp_wmi_bios_2008_later(void)