From: Pavel Machek Subject: Re: Broken locking in leds-lp5523.c Date: Thu, 9 Jan 2014 23:45:41 +0100 Message-ID: <20140109224541.GA19516@amd.pavel.ucw.cz> References: <20140107204233.GA22413@amd.pavel.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Bryan Wu Cc: "rpurdie@rpsys.net" , Linux LED Subsystem , lkml , milo kim , Pali =?iso-8859-1?Q?Roh=E1r?= , Sebastian Reichel , Sebastian Reichel List-Id: linux-leds@vger.kernel.org Hi! > > Now, this is untested patch from my reverse-engineering. I hope I > > understood things right... > > > > In particular, there's unbalanced unlock in > > lp5523_update_program_memory, and lp5523_update_program_memory needs > > to be protected by the lock. > > > > Comments? Does someone maintain this? > > > > Actually the locking issue was fixed in my for-next branch, > http://git.kernel.org/cgit/linux/kernel/git/cooloney/linux-leds.git/commit/?h=for-next&id=0d70bdb957cde2c25a4b3e4c93d0d33403795be9 > Yes, that should solve it. Thanks! Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html