diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-04-09 14:40:54 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-04-27 14:12:17 +0200 |
commit | da33aa03fa34c918faf2c371ebda0dd961d7ccb2 (patch) | |
tree | e84cbc68a2d68b3dc2afb61e62e6a9bdc9852173 /lib/bucket_locks.c | |
parent | 23a27722b5292ef0b27403c87a109feea8296a5c (diff) |
i2c: sprd: Prevent i2c accesses after suspend is called
Add one flag to indicate if the i2c controller has been in suspend state,
which can prevent i2c accesses after i2c controller is suspended following
system suspend.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'lib/bucket_locks.c')
0 files changed, 0 insertions, 0 deletions