Messages in this thread | | | From | Samu Onkalo <> | Subject | [PATCH 0/3] leds: lp5521 and lp523 corrections | Date | Fri, 17 Dec 2010 12:19:18 +0200 |
| |
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(-)
| |