Re: [PATCH v2 1/3] driver core: Call sync_state() even if supplier has no consumers

From: Greg Kroah-Hartman
Date: Fri Feb 21 2020 - 04:25:46 EST


On Fri, Feb 21, 2020 at 12:05:08AM -0800, Saravana Kannan wrote:
> The initial patch that added sync_state() support didn't handle the case
> where a supplier has no consumers. This was because when a device is
> successfully bound with a driver, only its suppliers were checked to see
> if they are eligible to get a sync_state(). This is not sufficient for
> devices that have no consumers but still need to do device state clean
> up. So fix this.
>
> Fixes: fc5a251d0fd7ca90 (driver core: Add sync_state driver/bus callback)

Should be:
Fixes: fc5a251d0fd7 ("driver core: Add sync_state driver/bus callback")

> Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>

So this needs to go to 5.5 also, right?

thanks,

greg k-h