From: Matthew Garrett Date: Thu, 21 Oct 2010 21:42:40 +0000 (-0400) Subject: tpm: Autodetect itpm devices X-Git-Tag: v2.6.37-rc4~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f0d3d016d89a5efb8b926d4707eb21fa13f3d27;p=pandora-kernel.git tpm: Autodetect itpm devices Some Lenovos have TPMs that require a quirk to function correctly. This can be autodetected by checking whether the device has a _HID of INTC0102. This is an invalid PNPid, and as such is discarded by the pnp layer - however it's still present in the ACPI code, so we can pull it out that way. This means that the quirk won't be automatically applied on non-ACPI systems, but without ACPI we don't have any way to identify the chip anyway so I don't think that's a great concern. Signed-off-by: Matthew Garrett Acked-by: Rajiv Andrade Tested-by: Jiri Kosina Tested-by: Andy Isaacson Signed-off-by: James Morris --- Reading git-diff-tree failed