projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa8bae1
)
[media] dw2102: Prof 7500 remote fix
author
Igor M. Liplianin
<liplianin@me.by>
Fri, 25 Feb 2011 21:41:23 +0000
(18:41 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:26 +0000
(20:32 -0300)
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dw2102.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/dvb-usb/dw2102.c
b/drivers/media/dvb/dvb-usb/dw2102.c
index
4ae4fb0
..
ea9a01c
100644
(file)
--- 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)
static int prof_7500_frontend_attach(struct dvb_usb_adapter *d)
{
+ u8 obuf[] = {7, 1};
+
d->fe = dvb_attach(stv0900_attach, &prof_7500_stv0900_config,
&d->dev->i2c_adap, 0);
if (d->fe == NULL)
return -EIO;
+
d->fe->ops.set_voltage = dw210x_set_voltage;
+ dw210x_op_rw(d->dev->udev, 0x8a, 0, 0, obuf, 2, DW210X_WRITE_MSG);
+
info("Attached STV0900+STB6100A!\n");
return 0;