[media] af9035: fix for MXL5007T devices with I2C read issues
authorAlessandro Radicati <alessandro@radicati.net>
Thu, 12 May 2016 10:47:12 +0000 (07:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 9 Jun 2016 11:46:00 +0000 (08:46 -0300)
commit1882f59f93066cb4ae922d68526bd0f33d2277cb
treeacfa3e3d2286e6cce9c312d73d7960f14d589709
parent57f1c0533850c0d68d114353b3b3a61148498698
[media] af9035: fix for MXL5007T devices with I2C read issues

The MXL5007T tuner will lock-up on some devices after an I2C read
transaction.  This patch works around this issue by inhibiting such
operations and emulating a 0x00 response. The workaround is only
applied to USB devices known to exhibit this flaw.

Signed-off-by: Alessandro Radicati <alessandro@radicati.net>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb-v2/af9035.c
drivers/media/usb/dvb-usb-v2/af9035.h