summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-pca963x.c
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2013-08-14 14:23:49 -0700
committerBryan Wu <cooloney@gmail.com>2013-08-26 17:22:14 -0700
commita7d0e9884fd7594d4de5066add5135ac6bb55bd4 (patch)
tree8090e4f54ecbde5fa2b5aa6afeb07f2e25b4cbca /drivers/leds/leds-pca963x.c
parenta5cd98b796b6891edc324415034a7f89531c754f (diff)
downloadop-kernel-dev-a7d0e9884fd7594d4de5066add5135ac6bb55bd4.zip
op-kernel-dev-a7d0e9884fd7594d4de5066add5135ac6bb55bd4.tar.gz
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 <ricardo.ribalda@gmail.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-pca963x.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud