.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | cx231xx-cards.c - driver for Conexant Cx23100/101/102 |
---|
3 | 4 | USB video capture devices |
---|
.. | .. |
---|
5 | 6 | Copyright (C) 2008 <srinivasa.deevi at conexant dot com> |
---|
6 | 7 | Based on em28xx driver |
---|
7 | 8 | |
---|
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. |
---|
17 | | - |
---|
18 | | - You should have received a copy of the GNU General Public License |
---|
19 | | - along with this program; if not, write to the Free Software |
---|
20 | | - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
21 | 9 | */ |
---|
22 | 10 | |
---|
23 | 11 | #include "cx231xx.h" |
---|
.. | .. |
---|
1035 | 1023 | .driver_info = CX231XX_BOARD_HAUPPAUGE_EXETER}, |
---|
1036 | 1024 | {USB_DEVICE(0x2040, 0xb123), |
---|
1037 | 1025 | .driver_info = CX231XX_BOARD_HAUPPAUGE_955Q}, |
---|
| 1026 | + {USB_DEVICE(0x2040, 0xb124), |
---|
| 1027 | + .driver_info = CX231XX_BOARD_HAUPPAUGE_955Q}, |
---|
1038 | 1028 | {USB_DEVICE(0x2040, 0xb151), |
---|
1039 | 1029 | .driver_info = CX231XX_BOARD_HAUPPAUGE_935C}, |
---|
1040 | 1030 | {USB_DEVICE(0x2040, 0xb150), |
---|
.. | .. |
---|
1361 | 1351 | /* |
---|
1362 | 1352 | * cx231xx_realease_resources() |
---|
1363 | 1353 | * unregisters the v4l2,i2c and usb devices |
---|
1364 | | - * called when the device gets disconected or at module unload |
---|
| 1354 | + * called when the device gets disconnected or at module unload |
---|
1365 | 1355 | */ |
---|
1366 | 1356 | void cx231xx_release_resources(struct cx231xx *dev) |
---|
1367 | 1357 | { |
---|
.. | .. |
---|
1489 | 1479 | goto err_dev_init; |
---|
1490 | 1480 | } |
---|
1491 | 1481 | |
---|
1492 | | - /* init video dma queues */ |
---|
| 1482 | + /* init video dma queue */ |
---|
1493 | 1483 | INIT_LIST_HEAD(&dev->video_mode.vidq.active); |
---|
1494 | | - INIT_LIST_HEAD(&dev->video_mode.vidq.queued); |
---|
1495 | 1484 | |
---|
1496 | | - /* init vbi dma queues */ |
---|
| 1485 | + /* init vbi dma queue */ |
---|
1497 | 1486 | INIT_LIST_HEAD(&dev->vbi_mode.vidq.active); |
---|
1498 | | - INIT_LIST_HEAD(&dev->vbi_mode.vidq.queued); |
---|
1499 | 1487 | |
---|
1500 | 1488 | /* Reset other chips required if they are tied up with GPIO pins */ |
---|
1501 | 1489 | cx231xx_add_into_devlist(dev); |
---|
.. | .. |
---|
1934 | 1922 | |
---|
1935 | 1923 | /* |
---|
1936 | 1924 | * cx231xx_usb_disconnect() |
---|
1937 | | - * called when the device gets diconencted |
---|
| 1925 | + * called when the device gets disconnected |
---|
1938 | 1926 | * video device will be unregistered on v4l2_close in case it is still open |
---|
1939 | 1927 | */ |
---|
1940 | 1928 | static void cx231xx_usb_disconnect(struct usb_interface *interface) |
---|