linux/drivers/media/pci
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
..
b2c2 [media] media: change email address 2016-01-25 12:01:08 -02:00
bt8xx [media] bttv: convert g/s_crop to g/s_selection 2016-08-24 09:48:22 -03:00
cobalt [media] pci: constify snd_pcm_ops structures 2016-09-19 16:18:42 -03:00
cx18 [media] rc: Hauppauge z8f0811 can decode RC6 2016-09-22 11:44:52 -03:00
cx88 [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
cx23885 Merge branch 'akpm' (patches from Andrew) 2016-10-11 17:34:10 -07:00
cx25821 [media] cx25821: Remove deprecated create_singlethread_workqueue 2016-09-22 12:49:37 -03:00
ddbridge [media] constify local structures 2016-09-19 16:22:18 -03:00
dm1105 media: fix dm1105.c build error 2017-03-12 06:41:41 +01:00
dt3155 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ivtv mm: replace get_user_pages_unlocked() write/force parameters with gup_flags 2016-10-18 14:13:37 -07:00
mantis [media] mantis: Fix error handling in mantis_dma_init() 2015-08-19 07:04:55 -03:00
meye [media] meye: embed video_device 2015-04-02 23:35:01 -03:00
netup_unidvb [media] pci: constify vb2_ops structures 2016-09-19 16:21:42 -03:00
ngene [media] constify local structures 2016-09-19 16:22:18 -03:00
pluto2 [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
pt1 [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
pt3 [media] media: pci: pt3: don't print error when adding adapter fails 2016-08-24 13:58:46 -03:00
saa7134 saa7134: fix warm Medion 7134 EEPROM read 2017-07-15 12:16:17 +02:00
saa7146 [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
saa7164 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
smipcie [media] constify local structures 2016-09-19 16:22:18 -03:00
solo6x10 media: solo6x10: fix lockup by avoiding delayed register write 2017-01-09 08:32:24 +01:00
sta2x11 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ttpci [media] ttpci: cleanup a bogus smatch warning 2016-02-23 07:26:22 -03:00
tw68 [media] pci: constify vb2_ops structures 2016-09-19 16:21:42 -03:00
tw686x [media] pci: constify vb2_ops structures 2016-09-19 16:21:42 -03:00
tw5864 [media] tw5864: constify struct video_device template 2016-09-19 14:17:19 -03:00
zoran [media] zoran: convert g/s_crop to g/s_selection 2016-08-24 09:51:15 -03:00
Kconfig [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00
Makefile [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00