summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/af9033.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-11-06 22:14:18 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-31 10:48:14 -0200
commit3461831adc35959bedf03bbf24678b60f73890b3 (patch)
tree7c857990466dcc4cbb2822977ae6c26c0bdc16da /drivers/media/dvb-frontends/af9033.c
parent81e19912558d0c50bdba0f7a5b2d1b2fad8c1d0e (diff)
[media] af9033: return regmap for integrated IT913x tuner driver
IT9130 series contains integrated tuner driver, which uses that demodulator address space. Return regmap in order to allow it913x driver communication. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/af9033.c')
-rw-r--r--drivers/media/dvb-frontends/af9033.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9033.c b/drivers/media/dvb-frontends/af9033.c
index 0794c94baae5..7e0d1cf74705 100644
--- a/drivers/media/dvb-frontends/af9033.c
+++ b/drivers/media/dvb-frontends/af9033.c
@@ -1150,6 +1150,7 @@ static int af9033_probe(struct i2c_client *client,
cfg->ops->pid_filter = af9033_pid_filter;
cfg->ops->pid_filter_ctrl = af9033_pid_filter_ctrl;
}
+ cfg->regmap = dev->regmap;
i2c_set_clientdata(client, dev);
dev_info(&client->dev, "Afatech AF9033 successfully attached\n");