[PATCH 0/3] leds: lp5521 and lp523 corrections

From: Samu Onkalo
Date: Fri Dec 17 2010 - 05:20:42 EST


Both drivers created and removed sysfs entries based on the
programmable engine state. Engine and mux control sysfs entries
were visible only when the engine was set to load state.

However, this caused circular locking error between sysfs-core
and the driver internal mutex. Now all the sysfs entries are
visible all the time but the access to engine program load
entry causes error if the engine mode is not correct.

lp5523 led channel naming changed to support name from the
platform data to allow use of several chips without overlapping
sysfs names.

Samu Onkalo (3):
leds: leds-lp5523: modify the way of setting led device name
leds: lp5523: Fix circular locking
leds: lp5521: Fix circular locking

drivers/leds/leds-lp5521.c | 52 ++++++--------------------------------
drivers/leds/leds-lp5523.c | 59 +++++++++++++-----------------------------
include/linux/leds-lp5523.h | 1 +
3 files changed, 27 insertions(+), 85 deletions(-)

--
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/