Re: [PATCH] leds: Fix locking for WM8350

From: Mark Brown
Date: Sat Nov 15 2008 - 12:51:06 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/