linux/drivers/media/usb/em28xx
Matthieu Rogez 0899f62ff9 [media] em28xx: fix Terratec Grabby AC97 codec detection
EMP202 chip inside Terratec Grabby (hw rev 2) seems to require some time
before accessing reliably its registers. Otherwise it returns some values
previously put on the I2C bus.

To account for that period, we delay card setup until we have a proof that
accessing AC97 registers is reliable. We get this proof by polling
AC97_RESET until the expected value is read. We also check that unrelated
registers don't return the same value. This second check handles the case
where the expected value is constantly returned no matter which register
is accessed.

Signed-off-by: Matthieu Rogez <matthieu.rogez@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-05 09:04:10 -03:00
..
Kconfig [media] em28xx: switch PCTV 461e to ts2020 driver 2015-04-02 22:24:25 -03:00
Makefile [media] em28xx: make em28xx-video to be a separate module 2014-01-07 05:09:26 -02:00
em28xx-audio.c [media] em28xx-audio: fix missing newlines 2014-12-23 14:46:07 -02:00
em28xx-camera.c [media] em28xx: add media controller support 2016-02-01 07:29:46 -02:00
em28xx-cards.c [media] em28xx: fix Terratec Grabby AC97 codec detection 2016-03-05 09:04:10 -03:00
em28xx-core.c [media] em28xx-core: fix missing newlines 2014-12-23 14:46:05 -02:00
em28xx-dvb.c [media] cx231xx, em28xx: pass media_device to si2157 2016-02-16 08:53:06 -02:00
em28xx-i2c.c [media] em28xx: checkpatch cleanup: whitespaces/new lines cleanups 2014-12-04 14:13:14 -02:00
em28xx-input.c [media] em28xx-input: fix missing newlines 2014-12-23 14:46:04 -02:00
em28xx-reg.h [media] em28xx: checkpatch cleanup: whitespaces/new lines cleanups 2014-12-04 14:13:14 -02:00
em28xx-v4l.h [media] em28xx: checkpatch cleanup: whitespaces/new lines cleanups 2014-12-04 14:13:14 -02:00
em28xx-vbi.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
em28xx-video.c [media] em28xx: restore lost #ifdef 2016-03-03 14:12:26 -03:00
em28xx.h [media] em28xx: add media controller support 2016-02-01 07:29:46 -02:00