RFC locking and rate limit updates for i2c?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Grant Coady wrote:

>Hi Mark,
>
>On Wed, 23 Mar 2005 01:35:14 -0500, "Mark M. Hoffman" <mhoffman at lightlink.com> wrote:
>  
>
>>>Thinking about the fan_div setting, it is a read/modify/write 
>>>(RMW) operation to a chip register, should we take action to 
>>>prevent another process accessing the chip on i2c during this 
>>>RMW action?
>>>      
>>>
>>Looks like Philip addressed this one.
>>    
>>
>
>Not at all.
>  
>

I'm sorry, I didn't mean to offend.

In addition to the way I know my drivers worked, I believe that all 
other drivers have an update_lock semaphore that could be used to 
protect read-modify-write's in the same way.

:v)



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux