Re: [PATCH] hp_accel: Add a new PnP ID HPQ6007 for new HP laptops

From: Éric Piel
Date: Tue Mar 05 2013 - 07:08:15 EST


On 26/02/13 18:19, Takashi Iwai wrote:
The DriveGuard chips on the new HP laptops are with a new PnP ID
"HPQ6007". It should be compatible with older chips.

Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
Hi,
Sorry for the delay. The driver is able to detect the actual type of accelerometer behind, so indeed it should work fine.

Thanks for the patch, here is my:
Acked-by: Éric Piel <eric.piel@xxxxxxxxxxxxxxxx>

Matthew, could you pick this patch into your tree?
Cheers,
Éric

---
drivers/platform/x86/hp_accel.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c
index e64a7a8..b6c4305 100644
--- a/drivers/platform/x86/hp_accel.c
+++ b/drivers/platform/x86/hp_accel.c
@@ -77,6 +77,7 @@ static inline void delayed_sysfs_set(struct led_classdev *led_cdev,
static struct acpi_device_id lis3lv02d_device_ids[] = {
{"HPQ0004", 0}, /* HP Mobile Data Protection System PNP */
{"HPQ6000", 0}, /* HP Mobile Data Protection System PNP */
+ {"HPQ6007", 0}, /* HP Mobile Data Protection System PNP */
{"", 0},
};
MODULE_DEVICE_TABLE(acpi, lis3lv02d_device_ids);


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/