aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJonas Aaberg <[email protected]>2012-04-17 09:30:33 +0200
committerSamuel Ortiz <[email protected]>2012-05-01 13:33:18 +0200
commit112a80d29b529d4057777ac2cb4ec15ff5b6d210 (patch)
treea649f58551524d4f07c083623ea084b6ecaf5ca1 /include/linux/debugobjects.h
parent7e82d6ff5d2c5e35d1fcb8c673287f7d780a13bb (diff)
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 <[email protected]> Reviewed-by: Mattias Wallin <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions