summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/ddbridge
diff options
context:
space:
mode:
authorRalph Metzler2017-06-25 23:37:08 +0200
committerMauro Carvalho Chehab2017-06-26 13:17:49 +0200
commitdd3c5d0086e0285ba5f1fc4ce3abde0f5a4092bc (patch)
tree1782e80223629257b5e7baca94d96e636e467d15 /drivers/media/pci/ddbridge
parentmedia: dvb_ca_en50221: Add block read/write functions (diff)
downloadkernel-qcow2-linux-dd3c5d0086e0285ba5f1fc4ce3abde0f5a4092bc.tar.gz
kernel-qcow2-linux-dd3c5d0086e0285ba5f1fc4ce3abde0f5a4092bc.tar.xz
kernel-qcow2-linux-dd3c5d0086e0285ba5f1fc4ce3abde0f5a4092bc.zip
media: staging: cxd2099: Fixed buffer mode
The buffer mode was already implemented in this driver, but it did not work as expected. This has been fixed now, but it is still deactivated and can be activated by removing a comment at the begin of the file. Original code change by Ralph Metzler, modified by Jasmin Jessich and Daniel Scheller to match Kernel code style. Signed-off-by: Ralph Metzler <rjkm@metzlerbros.de> Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Jasmin Jessich <jasmin@anw.at> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/ddbridge')
-rw-r--r--drivers/media/pci/ddbridge/ddbridge-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/ddbridge/ddbridge-core.c b/drivers/media/pci/ddbridge/ddbridge-core.c
index 32f4d3746c8e..cd1723e79a07 100644
--- a/drivers/media/pci/ddbridge/ddbridge-core.c
+++ b/drivers/media/pci/ddbridge/ddbridge-core.c
@@ -1305,6 +1305,7 @@ static struct cxd2099_cfg cxd_cfg = {
.adr = 0x40,
.polarity = 1,
.clock_mode = 1,
+ .max_i2c = 512,
};
static int ddb_ci_attach(struct ddb_port *port)