forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/pci/cx18/cx18-fileops.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * cx18 file operation functions
34 *
....@@ -5,16 +6,6 @@
56 *
67 * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
78 * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
189 */
1910
2011 #include "cx18-driver.h"
....@@ -403,7 +394,7 @@
403394 tot_written += rc;
404395
405396 if (stop || /* Forced stopping point for VBI insertion */
406
- tot_written >= ucount || /* Reader request statisfied */
397
+ tot_written >= ucount || /* Reader request satisfied */
407398 mdl->curr_buf->readpos < mdl->curr_buf->bytesused ||
408399 mdl->readpos >= mdl->bytesused) /* MDL buffers drained */
409400 break;