Michael Buesch wrote:
> On Thursday 07 September 2006 03:34, Larry Finger wrote:
>> +            return -EPERM;
>> +
> 
> you want to take the spinlock lock here, too.

Obviously, I copied the wrong model. Is it correct that one should take both 
locks if your code will 
touch the hardware, but the mutex lock only is sufficient if your code just 
accesses data 
structures? This seems to be the pattern in the other bcm43xx_attr_xxxx_show 
routines.

Larry

_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to