]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PNPACPI: cope with invalid device IDs
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 18 Sep 2010 17:11:09 +0000 (10:11 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:13 +0000 (13:33 -0800)
commit47bbe7b5e827946c7b560b1917cd8cbdbe6d84b7
tree03ea2b23ac5b208d28e964d6e77f9abfdbb54121
parent88929d52e9d6eaa0191c6e5adbe27243e97e7e17
PNPACPI: cope with invalid device IDs

commit 420a0f66378c84b00b0e603e4d38210102dbe367 upstream.

If primary ID (HID) is invalid try locating first valid ID on compatible
ID list before giving up.

This helps, for example, to recognize i8042 AUX port on Sony Vaio VPCZ1
which uses SNYSYN0003 as HID. Without the patch users are forced to
boot with i8042.nopnp to make use of their touchpads.

Tested-by: Jan-Hendrik Zab <jan@jhz.name>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pnp/pnpacpi/core.c