linux/drivers/media
Maciej S. Szmigiero fb2dc28cf2 saa7134: fix warm Medion 7134 EEPROM read
commit 5a91206ff0 upstream.

When saa7134 module driving a Medion 7134 card is reloaded reads of this
card EEPROM (required for automatic detection of tuner model) will be
corrupted due to I2C gate in DVB-T demod being left closed.
This sometimes also happens on first saa7134 module load after a warm
reboot.

Fix this by opening this I2C gate before doing EEPROM read during i2c
initialization.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-07-15 12:16:17 +02:00
..
common [media] v4l2-tpg-core: drop SYCC, use higher precision 601 conversion matrix 2016-08-24 08:36:11 -03:00
dvb-core [media] get rid of a number of problems at the cross references 2016-09-22 10:00:23 -03:00
dvb-frontends dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops 2017-05-25 15:44:42 +02:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c s5k4ecgx: select CRC32 helper 2017-02-01 08:33:12 +01:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci saa7134: fix warm Medion 7134 EEPROM read 2017-07-15 12:16:17 +02:00
platform s5p-mfc: Fix unbalanced call to clock management 2017-05-25 15:44:41 +02:00
radio [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
rc mceusb: fix NULL-deref at probe 2017-05-25 15:44:39 +02:00
spi gs1662: drop kfree for memory allocated with devm_kzalloc 2017-01-26 08:24:45 +01:00
tuners xc2028: Fix use-after-free bug properly 2016-11-23 21:04:26 -02:00
usb pvrusb2: reduce stack usage pvr2_eeprom_analyze() 2017-06-24 07:11:15 +02:00
v4l2-core vb2: Fix an off by one error in 'vb2_plane_vaddr' 2017-06-24 07:11:12 +02:00
cec-edid.c [media] cec-edid: check for IEEE identifier 2016-08-22 14:04:51 -03:00
Kconfig [media] media Kconfig: improve the spi integration 2016-09-19 14:37:05 -03:00
Makefile [media] Add GS1662 driver, a video serializer 2016-09-19 14:36:24 -03:00
media-device.c media: Properly pass through media entity types in entity enumeration 2017-03-12 06:41:41 +01:00
media-devnode.c [media] media: fix media devnode ioctl/syscall and unregister race 2016-06-15 17:59:28 -03:00
media-entity.c media: entity: Fix stream count check 2017-07-12 15:01:02 +02:00