mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
[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>
This commit is contained in:
parent
81e1991255
commit
3461831adc
2 changed files with 7 additions and 0 deletions
|
@ -1150,6 +1150,7 @@ static int af9033_probe(struct i2c_client *client,
|
||||||
cfg->ops->pid_filter = af9033_pid_filter;
|
cfg->ops->pid_filter = af9033_pid_filter;
|
||||||
cfg->ops->pid_filter_ctrl = af9033_pid_filter_ctrl;
|
cfg->ops->pid_filter_ctrl = af9033_pid_filter_ctrl;
|
||||||
}
|
}
|
||||||
|
cfg->regmap = dev->regmap;
|
||||||
i2c_set_clientdata(client, dev);
|
i2c_set_clientdata(client, dev);
|
||||||
|
|
||||||
dev_info(&client->dev, "Afatech AF9033 successfully attached\n");
|
dev_info(&client->dev, "Afatech AF9033 successfully attached\n");
|
||||||
|
|
|
@ -83,6 +83,12 @@ struct af9033_config {
|
||||||
* returned by that driver
|
* returned by that driver
|
||||||
*/
|
*/
|
||||||
struct dvb_frontend **fe;
|
struct dvb_frontend **fe;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* regmap for IT913x integrated tuner driver
|
||||||
|
* returned by that driver
|
||||||
|
*/
|
||||||
|
struct regmap *regmap;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct af9033_ops {
|
struct af9033_ops {
|
||||||
|
|
Loading…
Reference in a new issue