From: Ricardo Ribalda Delgado Date: Wed, 14 Aug 2013 21:23:49 +0000 (-0700) Subject: leds-pca9633: Add mutex to the ledout register X-Git-Tag: v3.12-rc1~32^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7d0e9884fd7594d4de5066add5135ac6bb55bd4;p=pandora-kernel.git leds-pca9633: Add mutex to the ledout register To update an LED a register has to be read, updated and writen. If another LED whas been updated at the same time, this could lead into wrong updates. This patch adds a common mutex to all the leds of the same chip to protect the ledout register. Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: Bryan Wu --- Reading git-diff-tree failed