lkml.org 
[lkml]   [2010]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] leds: lp5521 and lp523 corrections
Date
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(-)



\
 
 \ /
  Last update: 2010-12-17 11:23    [W:0.544 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site