]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
leds: Fix trigger registration race
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 20 Oct 2008 22:16:17 +0000 (23:16 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 20 Oct 2008 22:21:08 +0000 (23:21 +0100)
commit270c3957dbc5bedf093dc864840be0cc6dbda1f6
treec9caca471a647c3bd58b260ebef9840289533453
parent0266a45896a53b1261e9657aa3fbf9ca3d2fd07b
leds: Fix trigger registration race

Fix a race during trigger registration where we could try and use a lock
before it was initialised.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/led-class.c