Commit 266e43c4 authored by Hans de Goede's avatar Hans de Goede Committed by Dmitry Torokhov

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: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent d2682118
...@@ -1254,6 +1254,8 @@ static int __init i8042_create_aux_port(int idx) ...@@ -1254,6 +1254,8 @@ static int __init i8042_create_aux_port(int idx)
} else { } else {
snprintf(serio->name, sizeof(serio->name), "i8042 AUX%d port", idx); snprintf(serio->name, sizeof(serio->name), "i8042 AUX%d port", idx);
snprintf(serio->phys, sizeof(serio->phys), I8042_MUX_PHYS_DESC, idx + 1); 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; port->serio = serio;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment