.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * SQ930x subdriver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2010 Jean-François Moine <http://moinejf.free.fr> |
---|
5 | 6 | * Copyright (C) 2006 -2008 Gerard Klaver <gerard at gkall dot hobby dot nl> |
---|
6 | 7 | * Copyright (C) 2007 Sam Revitch <samr7@cs.washington.edu> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License as published by |
---|
10 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
11 | | - * any later version. |
---|
12 | | - * |
---|
13 | | - * This program is distributed in the hope that it will be useful, |
---|
14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | | - * GNU General Public License for more details. |
---|
17 | 8 | */ |
---|
18 | 9 | |
---|
19 | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
1049 | 1040 | v4l2_ctrl_g_ctrl(sd->gain)); |
---|
1050 | 1041 | |
---|
1051 | 1042 | gspca_dev->cam.bulk_nurbs = 1; |
---|
1052 | | - ret = usb_submit_urb(gspca_dev->urb[0], GFP_ATOMIC); |
---|
| 1043 | + ret = usb_submit_urb(gspca_dev->urb[0], GFP_KERNEL); |
---|
1053 | 1044 | if (ret < 0) |
---|
1054 | 1045 | pr_err("sd_dq_callback() err %d\n", ret); |
---|
1055 | 1046 | |
---|