Skip to content
Commit da33aa03 authored by Baolin Wang's avatar Baolin Wang Committed by Wolfram Sang
Browse files

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: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 23a27722
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment