5fd2783
From ef15224bce9875f9a5fbc93a2823219df6936a18 Mon Sep 17 00:00:00 2001
5fd2783
From: Hans de Goede <hdegoede@redhat.com>
5fd2783
Date: Wed, 30 Jul 2014 17:56:05 +0200
5fd2783
Subject: [PATCH 1/3] i8042: Also store the aux firmware id in multi-plexed aux
5fd2783
 ports
5fd2783
5fd2783
So that firmware-id matching can be used with multiplexed aux ports too.
5fd2783
5fd2783
Bugzilla: 1110011
5fd2783
Upstream-status: sent for 3.17/3.18
5fd2783
5fd2783
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
5fd2783
---
5fd2783
 drivers/input/serio/i8042.c | 2 ++
5fd2783
 1 file changed, 2 insertions(+)
5fd2783
5fd2783
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
5fd2783
index f1aeb0240d6e..4b5015f27f9e 100644
5fd2783
--- a/drivers/input/serio/i8042.c
5fd2783
+++ b/drivers/input/serio/i8042.c
5fd2783
@@ -1253,6 +1253,8 @@ static int __init i8042_create_aux_port(int idx)
5fd2783
 	} else {
5fd2783
 		snprintf(serio->name, sizeof(serio->name), "i8042 AUX%d port", idx);
5fd2783
 		snprintf(serio->phys, sizeof(serio->phys), I8042_MUX_PHYS_DESC, idx + 1);
5fd2783
+		strlcpy(serio->firmware_id, i8042_aux_firmware_id,
5fd2783
+			sizeof(serio->firmware_id));
5fd2783
 	}
5fd2783
 
5fd2783
 	port->serio = serio;
5fd2783
-- 
5fd2783
1.9.3
5fd2783