media: cx23885: Fix gpio on Hauppauge QuadHD PCIe cards
authorBrad Love <brad@nextdimension.cc>
Tue, 6 Mar 2018 19:15:02 +0000 (14:15 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Mar 2018 09:03:19 +0000 (04:03 -0500)
The GPIO settings for quadHD boards are wrong. Fix them.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/cx23885/cx23885-cards.c

index 5a64098..41f5669 100644 (file)
@@ -1828,8 +1828,6 @@ void cx23885_gpio_setup(struct cx23885_dev *dev)
                cx23885_gpio_set(dev, GPIO_2);
                break;
        case CX23885_BOARD_HAUPPAUGE_HVR5525:
-       case CX23885_BOARD_HAUPPAUGE_QUADHD_DVB:
-       case CX23885_BOARD_HAUPPAUGE_QUADHD_ATSC:
        case CX23885_BOARD_HAUPPAUGE_STARBURST2:
                /*
                 * HVR5525 GPIO Details:
@@ -1861,7 +1859,9 @@ void cx23885_gpio_setup(struct cx23885_dev *dev)
                 */
                break;
        case CX23885_BOARD_HAUPPAUGE_HVR1265_K4:
+       case CX23885_BOARD_HAUPPAUGE_QUADHD_DVB:
        case CX23885_BOARD_HAUPPAUGE_QUADHD_DVB_885:
+       case CX23885_BOARD_HAUPPAUGE_QUADHD_ATSC:
        case CX23885_BOARD_HAUPPAUGE_QUADHD_ATSC_885:
                /*
                 * GPIO-08 TER1_RESN