PNPACPI: cope with invalid device IDs
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 18 Sep 2010 17:11:09 +0000 (10:11 -0700)
committerLen Brown <len.brown@intel.com>
Fri, 1 Oct 2010 06:08:59 +0000 (02:08 -0400)
commit420a0f66378c84b00b0e603e4d38210102dbe367
tree2452b35b42dc10f21533d2c3d01ea12b9f95d21a
parent899611ee7d373e5eeda08e9a8632684e1ebbbf00
PNPACPI: cope with invalid device IDs

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>
drivers/pnp/pnpacpi/core.c