Re: [PATCH FOR 3.2 FIX] af9015: limit I2C access to keep FW happy

2011-11-30 Thread Malcolm Priestley
On Tue, 2011-11-29 at 02:09 +0200, Antti Palosaari wrote: > On 11/15/2011 12:25 AM, Malcolm Priestley wrote: > > I have tried this patch, while it initially got MythTV working, there is > > too many call backs and some failed to acquire the lock. The device > > became unstable on both single and du

Re: [PATCH FOR 3.2 FIX] af9015: limit I2C access to keep FW happy

2011-11-28 Thread Antti Palosaari
On 11/15/2011 12:25 AM, Malcolm Priestley wrote: I have tried this patch, while it initially got MythTV working, there is too many call backs and some failed to acquire the lock. The device became unstable on both single and dual devices. The callbacks af9015_af9013_read_status, af9015_af9013_i

Re: [PATCH FOR 3.2 FIX] af9015: limit I2C access to keep FW happy

2011-11-14 Thread Antti Palosaari
On 11/15/2011 12:25 AM, Malcolm Priestley wrote: On 11/13/2011 09:05 PM, Antti Palosaari wrote: 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.

Re: [PATCH FOR 3.2 FIX] af9015: limit I2C access to keep FW happy

2011-11-14 Thread Malcolm Priestley
On Sun, 2011-11-13 at 21:19 +0200, Antti Palosaari wrote: > Mauro, > Don't still but that to the 3.2 as fix. It is not much tested and not > critical so better put it master for some more testing. > > regards > Antti > > On 11/13/2011 09:05 PM, Antti Palosaari wrote: > > AF9015 firmware does not

Re: [PATCH FOR 3.2 FIX] af9015: limit I2C access to keep FW happy

2011-11-13 Thread Antti Palosaari
Mauro, Don't still but that to the 3.2 as fix. It is not much tested and not critical so better put it master for some more testing. regards Antti On 11/13/2011 09:05 PM, Antti Palosaari wrote: AF9015 firmware does not like if it gets interrupted by I2C adapter request on some critical phases

[PATCH FOR 3.2 FIX] af9015: limit I2C access to keep FW happy

2011-11-13 Thread Antti Palosaari
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 AF9