.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * STV0680 USB Camera Driver |
---|
3 | 4 | * |
---|
.. | .. |
---|
10 | 11 | * Thanks to STMicroelectronics for information on the usb commands, and |
---|
11 | 12 | * to Steve Miller at STM for his help and encouragement while I was |
---|
12 | 13 | * writing this driver. |
---|
13 | | - * |
---|
14 | | - * This program is free software; you can redistribute it and/or modify |
---|
15 | | - * it under the terms of the GNU General Public License as published by |
---|
16 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
17 | | - * (at your option) any later version. |
---|
18 | | - * |
---|
19 | | - * This program is distributed in the hope that it will be useful, |
---|
20 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
21 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
22 | | - * GNU General Public License for more details. |
---|
23 | | - * |
---|
24 | 14 | */ |
---|
25 | 15 | |
---|
26 | 16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
45 | 35 | static int stv_sndctrl(struct gspca_dev *gspca_dev, int set, u8 req, u16 val, |
---|
46 | 36 | int size) |
---|
47 | 37 | { |
---|
48 | | - int ret = -1; |
---|
| 38 | + int ret; |
---|
49 | 39 | u8 req_type = 0; |
---|
50 | 40 | unsigned int pipe = 0; |
---|
51 | 41 | |
---|