diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2012-04-17 09:30:33 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-01 13:33:18 +0200 |
commit | 112a80d29b529d4057777ac2cb4ec15ff5b6d210 (patch) | |
tree | a649f58551524d4f07c083623ea084b6ecaf5ca1 /Documentation | |
parent | mfd: Handle the ab8500 irq for suspend/resume (diff) | |
download | linux-112a80d29b529d4057777ac2cb4ec15ff5b6d210.tar.xz linux-112a80d29b529d4057777ac2cb4ec15ff5b6d210.zip |
mfd: Deny ab8500 suspend if i2c transfer is ongoing
If we are in the middle of an I2C transfer we need to deny suspend
of the AB8500 core. Implement an atomic reference counter for the
I2C operations to make sure we don't do this.
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-by: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions