diff options
author | Benjamin Larsson <benjamin@southpole.se> | 2014-11-26 18:51:46 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-12-23 14:46:02 -0200 |
commit | d2fb785227c03443b5df4ea8e4b6f6d8bd2b2d13 (patch) | |
tree | 232483ecd6fadee705c47b19222b29fff811049c /drivers/media/usb/dvb-usb-v2/rtl28xxu.c | |
parent | 417d2e507edcb5cf15eb344f86bd3dd28737f24e (diff) | |
download | linux-stable-d2fb785227c03443b5df4ea8e4b6f6d8bd2b2d13.tar.gz linux-stable-d2fb785227c03443b5df4ea8e4b6f6d8bd2b2d13.tar.bz2 linux-stable-d2fb785227c03443b5df4ea8e4b6f6d8bd2b2d13.zip |
[media] mn88472: calculate the IF register values
Add xtal as a configuration parameter so it can be used
in the IF register value calculation.
Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/rtl28xxu.c')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c index 896a225ee011..73580f8d5a17 100644 --- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c +++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c @@ -852,6 +852,7 @@ static int rtl2832u_frontend_attach(struct dvb_usb_adapter *adap) mn88472_config.fe = &adap->fe[1]; mn88472_config.i2c_wr_max = 22, strlcpy(info.type, "mn88472", I2C_NAME_SIZE); + mn88472_config.xtal = 20500000; info.addr = 0x18; info.platform_data = &mn88472_config; request_module(info.type); |