linux/drivers/media
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
..
common [media] siano: firmware buffer is too small 2016-02-16 09:29:13 -02:00
dvb-core [media] dvb-core: fix return code checking for devices with CA 2016-03-03 14:33:33 -03:00
dvb-frontends [media] cx24120: make sure tuner is locked at get_frontend 2016-03-03 14:26:55 -03:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] adv7604: fix SPA register location for ADV7612 2016-03-03 07:32:20 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] saa7134: fix warning with !MEDIA_CONTROLLER 2016-03-03 14:12:46 -03:00
platform [media] coda: fix error path in case of missing pdata on non-DT platform 2016-03-03 14:11:51 -03:00
radio [media] tea575x: convert to library 2016-02-10 09:34:28 -02:00
rc [media] media: rc: nuvoton: switch attribute wakeup_data to text 2016-03-05 08:22:03 -03:00
tuners [media] xc4000: shut up a bogus smatch message 2016-02-23 07:14:02 -03:00
usb [media] em28xx: fix Terratec Grabby AC97 codec detection 2016-03-05 09:04:10 -03:00
v4l2-core [media] v4l2-ioctl: fix YUV422P pixel format description 2016-03-05 08:21:32 -03:00
Kconfig [media] Kconfig: Re-enable Media controller support for DVB 2016-01-11 12:18:40 -02: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: Properly handle user pointers 2016-03-03 13:03:06 -03:00
media-devnode.c [media] media: Fix media_open() to clear filp->private_data in error leg 2016-02-01 13:21:33 -02:00
media-entity.c [media] media: add prefixes to interface types 2016-03-05 09:03:16 -03:00