Re: [PATCH 1/2] i2c: sprd: Prevent i2c accesses after suspend is called

From: Baolin Wang
Date: Tue May 01 2018 - 23:27:24 EST


Hi Wolfram,

On 27 April 2018 at 20:14, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
> On Mon, Apr 09, 2018 at 02:40:54PM +0800, Baolin Wang wrote:
>> 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@xxxxxxxxxx>
>
> Applied to for-current, thanks!
>
> We should maybe handle this in the core somewhen, though. Or?

Thanks. Yes, It will more helpful if we can handle this in the i2c core.

--
Baolin.wang
Best Regards