commit | a7d0e9884fd7594d4de5066add5135ac6bb55bd4 | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | Wed Aug 14 14:23:49 2013 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Mon Aug 26 17:22:14 2013 -0700 |
tree | 8090e4f54ecbde5fa2b5aa6afeb07f2e25b4cbca | |
parent | a5cd98b796b6891edc324415034a7f89531c754f [diff] |
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>