hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/media/usb/gspca/sq930x.c
....@@ -1,19 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * SQ930x subdriver
34 *
45 * Copyright (C) 2010 Jean-François Moine <http://moinejf.free.fr>
56 * Copyright (C) 2006 -2008 Gerard Klaver <gerard at gkall dot hobby dot nl>
67 * 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.
178 */
189
1910 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -1049,7 +1040,7 @@
10491040 v4l2_ctrl_g_ctrl(sd->gain));
10501041
10511042 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);
10531044 if (ret < 0)
10541045 pr_err("sd_dq_callback() err %d\n", ret);
10551046