.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2016, Zodiac Inflight Innovations |
---|
3 | 4 | * Copyright (c) 2007-2016, Synaptics Incorporated |
---|
4 | 5 | * Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com> |
---|
5 | 6 | * 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. |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | #include <linux/bitops.h> |
---|
.. | .. |
---|
1367 | 1364 | f34->bl_version = 6; |
---|
1368 | 1365 | } else if (f34->bootloader_id[1] == 7) { |
---|
1369 | 1366 | f34->bl_version = 7; |
---|
| 1367 | + } else if (f34->bootloader_id[1] == 8) { |
---|
| 1368 | + f34->bl_version = 8; |
---|
1370 | 1369 | } 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]); |
---|
1373 | 1375 | return -EINVAL; |
---|
1374 | 1376 | } |
---|
1375 | 1377 | |
---|