lkml.org 
[lkml]   [2008]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] leds: Fix locking for WM8350
On Sat, Nov 15, 2008 at 06:31:10PM +0100, Pavel Machek wrote:

> Unfortunately, now you write to value w/o locking -> races
> possible. Maybe you need to make value atomic_t?

Yes, that'd be safer though I'd be surprised to see systems that could
trigger it.


\
 
 \ /
  Last update: 2008-11-15 18:53    [W:0.062 / U:1.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site