projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4507f75
)
[media] rtl28xxu: add SDR module for devices having R828D tuner
author
Antti Palosaari
<
[email protected]
>
Wed, 12 Nov 2014 02:31:16 +0000
(23:31 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 21 Nov 2014 18:10:01 +0000
(16:10 -0200)
Load SDR sub-driver in order to support SDR for devices having
this tuner too.
Signed-off-by: Antti Palosaari <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
patch
|
blob
|
history
diff --git
a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
index a30ed17852c0e90705aba0880652ce12ad17738b..896a225ee01103042fbc26a0e9c1ed9d9a8355d9 100644
(file)
--- a/
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
+++ b/
drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@
-1113,6
+1113,10
@@
static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
adap->fe[1]->ops.read_signal_strength =
adap->fe[1]->ops.tuner_ops.get_rf_strength;
}
+
+ /* attach SDR */
+ dvb_attach_sdr(rtl2832_sdr_attach, adap->fe[0], &d->i2c_adap,
+ &rtl28xxu_rtl2832_r820t_config, NULL);
break;
default:
dev_err(&d->udev->dev, "%s: unknown tuner=%d\n", KBUILD_MODNAME,