diff options
author | Patrick Boettcher <patrick.boettcher@posteo.de> | 2015-04-28 08:47:42 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-18 22:32:35 +0300 |
commit | f7a77ebf08536da5cafd4494855001be74176efb (patch) | |
tree | 224a3cc3a1dab1f80e194f8087de1b04010f1c18 /drivers/media/dvb-frontends/cx24120.h | |
parent | c5fb0f5f545cdf90c451ea7c9a6fb98ae4c64e49 (diff) | |
download | linux-f7a77ebf08536da5cafd4494855001be74176efb.tar.xz |
[media] cx24120: i2c-max-write-size is now configurable
Some i2c-hosts are quite limited regarding maximum
i2c-burst-write-sizes. This patch makes the previously
hardcoded field configurable by users of the driver.
Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/cx24120.h')
-rw-r--r-- | drivers/media/dvb-frontends/cx24120.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/cx24120.h b/drivers/media/dvb-frontends/cx24120.h index 076d2ddb5dde..e5748aaa8418 100644 --- a/drivers/media/dvb-frontends/cx24120.h +++ b/drivers/media/dvb-frontends/cx24120.h @@ -37,6 +37,9 @@ struct cx24120_config { int (*request_firmware)(struct dvb_frontend *fe, const struct firmware **fw, char *name); + + /* max bytes I2C provider can write at once */ + u16 i2c_wr_max; }; #if IS_REACHABLE(CONFIG_DVB_CX24120) |