]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: AB3100 accessor function cleanups
authorLinus Walleij <linus.walleij@stericsson.com>
Thu, 13 Aug 2009 09:49:23 +0000 (11:49 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:47:15 +0000 (09:47 +0200)
commit4785de863aab3587305a44d920966a9ea338b79b
tree71a9627cd02f02091982459dd03af9f36a20c0c7
parent0b69786c61dcada5cd883ee4c19bac8119f02efd
mfd: AB3100 accessor function cleanups

This adds the _interruptible suffix to the AB3100 accessor
functions on par with mutex_lock_interruptible() that's used
for blocking simultaneous calls to the AB3100 acessor functions.
Since these accesses are slow on a 100kHz I2C bus and may line
up waiting for the mutex, we need to handle interruption by
system shutdown or kill signals and may just as well denote that
in the function names.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab3100-core.c
include/linux/mfd/ab3100.h