aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRabin Vincent2012-03-08 14:01:46 +0100
committerSamuel Ortiz2012-03-16 19:43:36 +0100
commit392cbd1e608ba79bd2da652eb3a28d841e51eaee (patch)
tree2c6b20c16188fd1b4ecf25ebf7df02b2c61ed488 /init
parentbd155d2c3c8b04d66f7890dbd9539c37e9dea02b (diff)
mfd: Don't use mutex_lock_interruptible in ab8500-core
This disadvantage of having it interruptible is that it would appear to work OK in most situations, but in the rare case that this call does fail, it can lead to misconfiguration of the AB, such as a regulator not being turned off and leading to a platform power consumption increase. There's no real benefit to having this interruptible. Make it a plain mutex_lock. The non-interruptability matches other low-level I/O functions such as SPI and I2C. Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions