hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/input/rmi4/rmi_f34v7.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2016, Zodiac Inflight Innovations
34 * Copyright (c) 2007-2016, Synaptics Incorporated
45 * Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com>
56 * Copyright (C) 2012 Scott Lin <scott.lin@tw.synaptics.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License version 2 as published by
9
- * the Free Software Foundation.
107 */
118
129 #include <linux/bitops.h>
....@@ -1367,9 +1364,14 @@
13671364 f34->bl_version = 6;
13681365 } else if (f34->bootloader_id[1] == 7) {
13691366 f34->bl_version = 7;
1367
+ } else if (f34->bootloader_id[1] == 8) {
1368
+ f34->bl_version = 8;
13701369 } else {
1371
- dev_err(&f34->fn->dev, "%s: Unrecognized bootloader version\n",
1372
- __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]);
13731375 return -EINVAL;
13741376 }
13751377