diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-05 18:55:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-05 18:55:37 -0400 |
commit | cab8e5c4444cb7d9b8035de5d81fbfd5284a02fa (patch) | |
tree | 04af29514a1e879eb254fb758f57a978d9033bd4 /drivers/input/serio | |
parent | 0dac723e5c15ddb9bd26c1db21ee64ab71ae4925 (diff) | |
parent | 4e4eda866ec7bd7a151e4884a291221eb74644ae (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: document some of keycodes
Input: add a new EV_SW SW_RADIO event, for radio switches on laptops
Input: serio - take drv_mutex in serio_cleanup()
Input: atkbd - use printk_ratelimit for spurious ACK messages
Input: atkbd - throttle LED switching
Input: i8042 - add HP Pavilion ZT1000 to the MUX blacklist
Diffstat (limited to 'drivers/input/serio')
-rw-r--r-- | drivers/input/serio/i8042-x86ia64io.h | 11 | ||||
-rw-r--r-- | drivers/input/serio/serio.c | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index f4a2517925e4..4fca1e7f2678 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h | |||
@@ -200,6 +200,17 @@ static struct dmi_system_id __initdata i8042_dmi_nomux_table[] = { | |||
200 | }, | 200 | }, |
201 | }, | 201 | }, |
202 | { | 202 | { |
203 | /* | ||
204 | * Like DV4017EA does not raise AUXERR for errors on MUX ports. | ||
205 | */ | ||
206 | .ident = "HP Pavilion ZT1000", | ||
207 | .matches = { | ||
208 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), | ||
209 | DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion Notebook PC"), | ||
210 | DMI_MATCH(DMI_PRODUCT_VERSION, "HP Pavilion Notebook ZT1000"), | ||
211 | }, | ||
212 | }, | ||
213 | { | ||
203 | .ident = "Toshiba P10", | 214 | .ident = "Toshiba P10", |
204 | .matches = { | 215 | .matches = { |
205 | DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), | 216 | DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), |
diff --git a/drivers/input/serio/serio.c b/drivers/input/serio/serio.c index 5895202b972c..a8f3bc1dff22 100644 --- a/drivers/input/serio/serio.c +++ b/drivers/input/serio/serio.c | |||
@@ -769,8 +769,10 @@ static int serio_driver_remove(struct device *dev) | |||
769 | 769 | ||
770 | static void serio_cleanup(struct serio *serio) | 770 | static void serio_cleanup(struct serio *serio) |
771 | { | 771 | { |
772 | mutex_lock(&serio->drv_mutex); | ||
772 | if (serio->drv && serio->drv->cleanup) | 773 | if (serio->drv && serio->drv->cleanup) |
773 | serio->drv->cleanup(serio); | 774 | serio->drv->cleanup(serio); |
775 | mutex_unlock(&serio->drv_mutex); | ||
774 | } | 776 | } |
775 | 777 | ||
776 | static void serio_shutdown(struct device *dev) | 778 | static void serio_shutdown(struct device *dev) |