Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Antti Palosaari and committed by
Mauro Carvalho Chehab
3461831a 81e19912

+7
+1
drivers/media/dvb-frontends/af9033.c
··· 1150 1150 cfg->ops->pid_filter = af9033_pid_filter; 1151 1151 cfg->ops->pid_filter_ctrl = af9033_pid_filter_ctrl; 1152 1152 } 1153 + cfg->regmap = dev->regmap; 1153 1154 i2c_set_clientdata(client, dev); 1154 1155 1155 1156 dev_info(&client->dev, "Afatech AF9033 successfully attached\n");
+6
drivers/media/dvb-frontends/af9033.h
··· 83 83 * returned by that driver 84 84 */ 85 85 struct dvb_frontend **fe; 86 + 87 + /* 88 + * regmap for IT913x integrated tuner driver 89 + * returned by that driver 90 + */ 91 + struct regmap *regmap; 86 92 }; 87 93 88 94 struct af9033_ops {