mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 14:12:51 +00:00
[media] cx231xx: fix GPIOs for Pixelview SBTVD hybrid
This device uses GPIOs: 28 to switch between analog and digital modes: on digital mode, it should be set to 1. The code that sets it on analog mode is OK, but it misses the logic that sets it on digital mode. Cc: stable@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
1871d718a9
commit
24b923f073
@ -486,7 +486,7 @@ struct cx231xx_board cx231xx_boards[] = {
|
||||
.output_mode = OUT_MODE_VIP11,
|
||||
.demod_xfer_mode = 0,
|
||||
.ctl_pin_status_mask = 0xFFFFFFC4,
|
||||
.agc_analog_digital_select_gpio = 0x00, /* According with PV cxPolaris.inf file */
|
||||
.agc_analog_digital_select_gpio = 0x1c,
|
||||
.tuner_sif_gpio = -1,
|
||||
.tuner_scl_gpio = -1,
|
||||
.tuner_sda_gpio = -1,
|
||||
|
@ -712,6 +712,7 @@ int cx231xx_set_mode(struct cx231xx *dev, enum cx231xx_mode set_mode)
|
||||
break;
|
||||
case CX231XX_BOARD_CNXT_RDE_253S:
|
||||
case CX231XX_BOARD_CNXT_RDU_253S:
|
||||
case CX231XX_BOARD_PV_PLAYTV_USB_HYBRID:
|
||||
errCode = cx231xx_set_agc_analog_digital_mux_select(dev, 1);
|
||||
break;
|
||||
case CX231XX_BOARD_HAUPPAUGE_EXETER:
|
||||
|
Loading…
Reference in New Issue
Block a user