Skip to content

Commit a6977d7

Browse files
zx2c4dtor
authored andcommitted
Input: synaptics-rmi4 - support bootloader v8 in f34v7
With the recent addition of the F3A support, we can now accept bootloader v8, which will help support recent Thinkpads. Acked-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Link: https://lore.kernel.org/r/20200930225046.173190-2-Jason@zx2c4.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 9e4c596 commit a6977d7

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

drivers/input/rmi4/rmi_f34v7.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,9 +1364,14 @@ int rmi_f34v7_probe(struct f34_data *f34)
13641364
f34->bl_version = 6;
13651365
} else if (f34->bootloader_id[1] == 7) {
13661366
f34->bl_version = 7;
1367+
} else if (f34->bootloader_id[1] == 8) {
1368+
f34->bl_version = 8;
13671369
} else {
1368-
dev_err(&f34->fn->dev, "%s: Unrecognized bootloader version\n",
1369-
__func__);
1370+
dev_err(&f34->fn->dev,
1371+
"%s: Unrecognized bootloader version: %d (%c) %d (%c)\n",
1372+
__func__,
1373+
f34->bootloader_id[0], f34->bootloader_id[0],
1374+
f34->bootloader_id[1], f34->bootloader_id[1]);
13701375
return -EINVAL;
13711376
}
13721377

0 commit comments

Comments
 (0)