[linux-dvb] [PATCH 1/3] Fix a problem during the access to the IER and ISR registers of the SA7146

Dominik Strasser dominik at die-strassers.de
Wed Dec 27 12:30:56 CET 2006


Oliver Endriss schrieb:
> Dominik Strasser wrote:
>   
>> e9hack schrieb:
>>     
>>> Dominik Strasser wrote:
>>>   
>>>       
>>>> e9hack schrieb:
>>>>     
>>>>         
>>> I've looked  to saa7146_i2c_writeout() and to
>>> wait_event_interruptible_timeout() again. The timeout value is
>>> calculated after the transfer is started. A high load doesn't shorten
>>> the real timeout. I think that the old value of 10ms is enough. There is
>>> no error message from ves1820_writereg(). The values are written
>>> correctly during the retries. The same timeout messages exist for the
>>> (old) non interrupt transfer. But in this case the message is only
>>> printed if I2C-debugging is enabled.. I think you will see this message
>>> also with the (old) non interrupt transfer, if you change this debug
>>> message to an always printed message.
>>>   
>>>       
>> OK,
>> what about the attached patch, to silence the other message (which also 
>> swamped my logs after I've managed to silence this one) - see my other post.
>>     
>
> Basically I have no problem to change this message back to a debug
> message if nothing else helps. On the other hand I don't understand why
> I2C timeouts might occur during normal operation of the driver.
>
> Please try a lower I2C bitrate in the av7110 driver.
> In av7110.c, line 2465, replace SAA7146_I2C_BUS_BIT_RATE_120 by
> SAA7146_I2C_BUS_BIT_RATE_240. Does this help?
>   
Oliver,
sorry, this doesn't help fully. I still see the message but very 
infrequently. It occurs something like twice per minute. Before it was 
every second. Maybe this is OK then ?

Dominik




More information about the linux-dvb mailing list