summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorSamu Onkalo <samu.p.onkalo@nokia.com>2011-01-13 00:59:18 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 16:03:05 (GMT)
commitfbac0812de0455c6af3e1f29fccffc207073b7eb (patch)
tree7a098b7b4e8d945c74252022a757b90d2b552f3a /arch/microblaze
parent278ad4fd0e7517f1d74b8fc1c8347cad34a09b02 (diff)
downloadlinux-fsl-qoriq-fbac0812de0455c6af3e1f29fccffc207073b7eb.tar.xz
leds: lp5523: fix circular locking
Driver contained possibility for circular locking. One lock is held by sysfs-core and another one by the driver itself. This happened when the driver created or removed sysfs entries dynamically. There is no real need to do those operations. Now all the sysfs entries are created at probe and removed at removal. Engine load and mux configuration sysfs entries are now visible all the time. However, access to the entries fails if the engine is disabled or running. Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com> Cc: Arun Murthy <arun.murthy@stericsson.com> Reviewed-by: Ilkka Koskinen <ilkka.koskinen@nokia.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions