forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/pci/saa7134/saa7134-ts.c
....@@ -1,19 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 *
34 * device driver for philips saa7134 based TV cards
45 * video4linux video interface
56 *
67 * (c) 2001,02 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
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
- * (at your option) 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 #include "saa7134.h"
....@@ -309,6 +300,7 @@
309300
310301 int saa7134_ts_fini(struct saa7134_dev *dev)
311302 {
303
+ del_timer_sync(&dev->ts_q.timeout);
312304 saa7134_pgtable_free(dev->pci, &dev->ts_q.pt);
313305 return 0;
314306 }