diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-09-11 19:13:13 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-09-12 08:32:52 +0200 |
commit | 266e43c4eb81440e81da6c51bc5d4f9be2b7839c (patch) | |
tree | daade1a26375c58b4353b22875a4b831587a13bb /drivers/input/serio/i8042.c | |
parent | Input: i8042 - add nomux quirk for Avatar AVIU-145A6 (diff) | |
download | linux-266e43c4eb81440e81da6c51bc5d4f9be2b7839c.tar.xz linux-266e43c4eb81440e81da6c51bc5d4f9be2b7839c.zip |
Input: i8042 - also set the firmware id for MUXed ports
So that firmware-id matching can be used with multiplexed aux ports too.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio/i8042.c')
-rw-r--r-- | drivers/input/serio/i8042.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index 3807c3e971cc..f5a98af3b325 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; |