forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/pci/saa7134/saa7134-cards.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 * card-specific stuff.
56 *
67 * (c) 2001-04 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"
....@@ -3628,6 +3619,21 @@
36283619 .vmux = 1,
36293620 .amux = TV,
36303621 .gpio = 0x0200000,
3622
+ },{
3623
+ .type = SAA7134_INPUT_COMPOSITE1,
3624
+ .vmux = 3,
3625
+ .amux = LINE2,
3626
+ .gpio = 0x0200000,
3627
+ },{
3628
+ .type = SAA7134_INPUT_COMPOSITE2,
3629
+ .vmux = 0,
3630
+ .amux = LINE2,
3631
+ .gpio = 0x0200000,
3632
+ },{
3633
+ .type = SAA7134_INPUT_SVIDEO,
3634
+ .vmux = 8,
3635
+ .amux = LINE2,
3636
+ .gpio = 0x0200000,
36313637 }},
36323638 },
36333639 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
....@@ -6408,7 +6414,7 @@
64086414 .vendor = PCI_VENDOR_ID_PHILIPS,
64096415 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
64106416 .subvendor = 0x5168,
6411
- .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
6417
+ .subdevice = 0x3502, /* what's the difference to 0x3306 ?*/
64126418 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
64136419 },{
64146420 .vendor = PCI_VENDOR_ID_PHILIPS,
....@@ -7806,7 +7812,7 @@
78067812 dev->name, saa7134_boards[dev->board].name);
78077813 break;
78087814 }
7809
- /* fall-through */
7815
+ fallthrough;
78107816 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
78117817 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
78127818 case SAA7134_BOARD_ASUS_EUROPA_HYBRID:
....@@ -7864,7 +7870,7 @@
78647870 break;
78657871 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
78667872 hauppauge_eeprom(dev, dev->eedata+0x80);
7867
- /* fall-through */
7873
+ fallthrough;
78687874 case SAA7134_BOARD_PINNACLE_PCTV_310i:
78697875 case SAA7134_BOARD_KWORLD_DVBT_210:
78707876 case SAA7134_BOARD_TEVION_DVBT_220RF: