summaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorPatrick Boettcher <patrick.boettcher@posteo.de>2015-04-28 02:47:42 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-18 16:32:35 -0300
commitf7a77ebf08536da5cafd4494855001be74176efb (patch)
tree224a3cc3a1dab1f80e194f8087de1b04010f1c18 /drivers/media/common
parentc5fb0f5f545cdf90c451ea7c9a6fb98ae4c64e49 (diff)
downloadlinux-f7a77ebf08536da5cafd4494855001be74176efb.tar.bz2
[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/common')
-rw-r--r--drivers/media/common/b2c2/flexcop-fe-tuner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/common/b2c2/flexcop-fe-tuner.c b/drivers/media/common/b2c2/flexcop-fe-tuner.c
index 66f6910a1810..9305266d0ac0 100644
--- a/drivers/media/common/b2c2/flexcop-fe-tuner.c
+++ b/drivers/media/common/b2c2/flexcop-fe-tuner.c
@@ -630,6 +630,7 @@ static const struct cx24120_config skystar2_rev3_3_cx24120_config = {
.xtal_khz = 10111,
.initial_mpeg_config = { 0xa1, 0x76, 0x07 },
.request_firmware = flexcop_fe_request_firmware,
+ .i2c_wr_max = 4,
};
static int skystarS2_rev33_attach(struct flexcop_device *fc,