]> Pileus Git - ~andy/linux/commit
[media] af9015: limit I2C access to keep FW happy
authorAntti Palosaari <crope@iki.fi>
Sun, 13 Nov 2011 01:33:30 +0000 (22:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 19:46:47 +0000 (17:46 -0200)
commitff83bd82cb343d37b5ab8e402aaad9ef33d03f1e
tree780a63675c7c9ecb288a2b075d465e90f2d119da
parent1249a3a82d08d73ece65ae79e0553cd0f3407a15
[media] af9015: limit I2C access to keep FW happy

AF9015 firmware does not like if it gets interrupted by I2C adapter
request on some critical phases. During normal operation I2C adapter
is used only 2nd demodulator and tuner on dual tuner devices.

Override demodulator callbacks and use mutex for limit access to
those "critical" paths to keep AF9015 happy.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/af9015.c
drivers/media/dvb/dvb-usb/af9015.h