commit | da33aa03fa34c918faf2c371ebda0dd961d7ccb2 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Mon Apr 09 14:40:54 2018 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Apr 27 14:12:17 2018 +0200 |
tree | e84cbc68a2d68b3dc2afb61e62e6a9bdc9852173 | |
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>