From: Brad Love Date: Tue, 6 Mar 2018 19:15:02 +0000 (-0500) Subject: media: cx23885: Fix gpio on Hauppauge QuadHD PCIe cards X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9cbf518efaa8eae88f5a216c2ea58987a5344989;p=openwrt%2Fstaging%2Fblogic.git media: cx23885: Fix gpio on Hauppauge QuadHD PCIe cards The GPIO settings for quadHD boards are wrong. Fix them. Signed-off-by: Brad Love Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/cx23885/cx23885-cards.c b/drivers/media/pci/cx23885/cx23885-cards.c index 5a640980f967..41f5669b2b43 100644 --- a/drivers/media/pci/cx23885/cx23885-cards.c +++ b/drivers/media/pci/cx23885/cx23885-cards.c @@ -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