]> git.karo-electronics.de Git - mv-sheeva.git/commit
V4L/DVB (13581): DiBUSB: fix I2c access when there is a read-access w/o write sequence
authorPatrick Boettcher <pboettcher@kernellabs.com>
Mon, 30 Nov 2009 17:14:36 +0000 (14:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 02:18:27 +0000 (00:18 -0200)
commit38ffcd10d6831efd15ec5a223b1050eac12d4c28
tree639c629cc9a79ea1b5ef2a16aa7804028a29139a
parentd995a18733a683c1c086a4d48315976f8c25d89b
V4L/DVB (13581): DiBUSB: fix I2c access when there is a read-access w/o write sequence

This patch fixes the behaviour of the dibusb-i2c-access which was previously changed to avoid accidental EEprom writes:

Now it allow i2c-reads without prepended i2c-writes, but it is still not doing anything in case the EEprom is addressed.

Thanks to Mario Bachmann for testing.

Tested-by: Mario Bachmann <grafgrimm77@gmx.de>
Cc: Mario Bachmann <grafgrimm77@gmx.de>
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dibusb-common.c