aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@me.by>2011-02-25 16:41:23 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:32:26 -0400
commit4e59df8f25950520cd6a8b16a39d48b5fa5aeeda (patch)
tree3001950901a8f94388eb2754ddae323a299bbdfe /drivers
parentfa8bae102fbbabe9ecc4381ace3b74a199684594 (diff)
[media] dw2102: Prof 7500 remote fix
Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/dw2102.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dw2102.c b/drivers/media/dvb/dvb-usb/dw2102.c
index 4ae4fb02164d..ea9a01c24fc7 100644
--- a/drivers/media/dvb/dvb-usb/dw2102.c
+++ b/drivers/media/dvb/dvb-usb/dw2102.c
@@ -1118,12 +1118,17 @@ static int ds3000_frontend_attach(struct dvb_usb_adapter *d)
1118 1118
1119static int prof_7500_frontend_attach(struct dvb_usb_adapter *d) 1119static int prof_7500_frontend_attach(struct dvb_usb_adapter *d)
1120{ 1120{
1121 u8 obuf[] = {7, 1};
1122
1121 d->fe = dvb_attach(stv0900_attach, &prof_7500_stv0900_config, 1123 d->fe = dvb_attach(stv0900_attach, &prof_7500_stv0900_config,
1122 &d->dev->i2c_adap, 0); 1124 &d->dev->i2c_adap, 0);
1123 if (d->fe == NULL) 1125 if (d->fe == NULL)
1124 return -EIO; 1126 return -EIO;
1127
1125 d->fe->ops.set_voltage = dw210x_set_voltage; 1128 d->fe->ops.set_voltage = dw210x_set_voltage;
1126 1129
1130 dw210x_op_rw(d->dev->udev, 0x8a, 0, 0, obuf, 2, DW210X_WRITE_MSG);
1131
1127 info("Attached STV0900+STB6100A!\n"); 1132 info("Attached STV0900+STB6100A!\n");
1128 1133
1129 return 0; 1134 return 0;