Alexander Vasiliev wrote:
>> So, are you saying the bus is locked up until another message is transmitted.
>> That doesn't sound good to me. If a signal stops a master transmit
>> transaction, we
>> should not wait for another master transaction before releasing the bus. We
>> should
>> play nicely with other masters.
>>
>>
>> Troy
>
> Could you describe the situation, in which a signal stops master transaction.
>
I don't know every situation, but a ^c while using the user-space device
interface
triggered it for me.
r = wait_for_completion_interruptible_timeout(&dev->cmd_complete,
DAVINCI_I2C_TIMEOUT);
I think completes for any signal. Of course this does not effect the state of
the bus, and with the proposed change, the next interrupt does not set the stop
bit.
Troy
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source