eeepc-wmi: use the presence bit correctly
authorCorentin Chary <corentincj@iksaif.net>
Sun, 6 Feb 2011 12:28:35 +0000 (13:28 +0100)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:05:17 +0000 (06:05 -0400)
commitaafa719dcd0cb0c05bb0690c816b13263c8b36e6
tree491bdb8888c9259ec3cf05c4d2ecfdc1020a1f29
parent33e0e6fed04dc6067562c65e3e6d551dc0eb11fc
eeepc-wmi: use the presence bit correctly

I checked some more DSDT, and it seems that I wasn't
totally right about the meaning of DSTS return value.
Bit 0 is clearly the status of the device, and I discovered
that bit 16 is set when the device is present.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-wmi.c