[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <98a9b991-634c-f64e-d1c2-9cf92f5fe89f@opensource.cirrus.com>
Date: Fri, 9 Dec 2022 13:40:06 +0000
From: Richard Fitzgerald <rf@...nsource.cirrus.com>
To: Hans de Goede <hdegoede@...hat.com>, <wsa@...nel.org>,
<jarkko.nikula@...ux.intel.com>,
<andriy.shevchenko@...ux.intel.com>,
<mika.westerberg@...ux.intel.com>, <jsd@...ihalf.com>
CC: <linux-i2c@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<patches@...nsource.cirrus.com>
Subject: Re: [PATCH] i2c: designware: Fix unbalanced suspended flag
On 9/12/22 12:15, Hans de Goede wrote:
> Hi Richard,
>
> On 12/9/22 12:40, Richard Fitzgerald wrote:
>> Ensure that i2c_mark_adapter_suspended() is always balanced by a call to
>> i2c_mark_adapter_resumed().
>>
> I'm afraid that this is always going to run now, before this callback gets
> called drivers/base/power/main.c: device_resume_noirq() does:
>
Ok, what do you suggest as the fix?
If you post an alternate fix I can test it.
Powered by blists - more mailing lists