aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/rtl2832.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-15 13:34:13 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-03 16:12:34 -0200
commit0aa32ef9b38f9683b4ddaab9ac9bee8f75d872d2 (patch)
tree4b93cb188896c809229485f0862e71a24b9d46aa /drivers/media/dvb-frontends/rtl2832.c
parent[media] rtl2832: merge reg page as a part of reg address (diff)
downloadlinux-dev-0aa32ef9b38f9683b4ddaab9ac9bee8f75d872d2.tar.xz
linux-dev-0aa32ef9b38f9683b4ddaab9ac9bee8f75d872d2.zip
[media] rtl2832: provide register IO callbacks
Provide register read and write callbacks for SDR module. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832.c')
-rw-r--r--drivers/media/dvb-frontends/rtl2832.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.c b/drivers/media/dvb-frontends/rtl2832.c
index f86e9ab8b901..7070713775e8 100644
--- a/drivers/media/dvb-frontends/rtl2832.c
+++ b/drivers/media/dvb-frontends/rtl2832.c
@@ -1279,6 +1279,9 @@ static int rtl2832_probe(struct i2c_client *client,
pdata->enable_slave_ts = rtl2832_enable_slave_ts;
pdata->pid_filter = rtl2832_pid_filter;
pdata->pid_filter_ctrl = rtl2832_pid_filter_ctrl;
+ pdata->bulk_read = rtl2832_bulk_read;
+ pdata->bulk_write = rtl2832_bulk_write;
+ pdata->update_bits = rtl2832_update_bits;
dev_info(&client->dev, "Realtek RTL2832 successfully attached\n");
return 0;