All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] i8042: Also store the aux firmware id in multi-plexed aux ports
@ 2014-09-11  8:50 Hans de Goede
  2014-09-11  8:50 ` [PATCH 2/3] psmouse: Add psmouse_matches_pnp_id helper function Hans de Goede
  2014-09-11  8:50 ` [PATCH 3/3] psmouse: Add support for detecting FocalTech PS/2 touchpads Hans de Goede
  0 siblings, 2 replies; 6+ messages in thread
From: Hans de Goede @ 2014-09-11  8:50 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Peter Hutterer, Benjamin Tissoires, linux-input, Hans de Goede

So that firmware-id matching can be used with multiplexed aux ports too.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/input/serio/i8042.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index 3807c3e..f5a98af 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -1254,6 +1254,8 @@ static int __init i8042_create_aux_port(int idx)
 	} else {
 		snprintf(serio->name, sizeof(serio->name), "i8042 AUX%d port", idx);
 		snprintf(serio->phys, sizeof(serio->phys), I8042_MUX_PHYS_DESC, idx + 1);
+		strlcpy(serio->firmware_id, i8042_aux_firmware_id,
+			sizeof(serio->firmware_id));
 	}
 
 	port->serio = serio;
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-12  6:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-11  8:50 [PATCH 1/3] i8042: Also store the aux firmware id in multi-plexed aux ports Hans de Goede
2014-09-11  8:50 ` [PATCH 2/3] psmouse: Add psmouse_matches_pnp_id helper function Hans de Goede
2014-09-11  8:50 ` [PATCH 3/3] psmouse: Add support for detecting FocalTech PS/2 touchpads Hans de Goede
2014-09-11 17:26   ` Dmitry Torokhov
2014-09-11 17:31     ` Hans de Goede
2014-09-12  6:14       ` Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.