android_kernel_oneplus_msm8998/drivers/media
Maciej S. Szmigiero 52b9815d37 saa7134: fix warm Medion 7134 EEPROM read
commit 5a91206ff0d0548939f3e85a65fb76b400fb0e89 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>
2017-07-15 11:57:50 +02:00
..
common [media] saa7146: use swap() in sort_and_eliminate() 2015-07-06 08:25:49 -03:00
dvb-core media: dvb_ringbuffer: Add memory barriers 2016-08-20 18:09:18 +02:00
dvb-frontends dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops 2017-05-25 14:30:14 +02:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c s5k4ecgx: select CRC32 helper 2017-02-01 08:30:53 +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 11:57:50 +02:00
platform s5p-mfc: Fix unbalanced call to clock management 2017-05-25 14:30:14 +02:00
radio [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
rc mceusb: fix NULL-deref at probe 2017-05-25 14:30:12 +02:00
tuners xc2028: Fix use-after-free bug properly 2017-05-25 14:30:15 +02:00
usb pvrusb2: reduce stack usage pvr2_eeprom_analyze() 2017-06-26 07:13:09 +02:00
v4l2-core vb2: Fix an off by one error in 'vb2_plane_vaddr' 2017-06-26 07:13:08 +02:00
Kconfig media updates for v4.2-rc1 2015-06-25 17:55:48 -07:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media-entity.c: get rid of var length arrays 2015-10-01 18:10:05 -03:00