]> git.openfabrics.org - ~shefty/rdma-dev.git/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>
Fri, 30 Dec 2011 17:30:03 +0000 (15:30 -0200)
commite90ab840fb826621c8c01cc9e70ca3f0889fa416
tree68863d3856baab231f7cd39d762bf20312fbc995
parent6cf1056f0a7ecb543d4b523f6c55a5587fc455f2
[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