Re: [PATCH v1 1/5] PM: sleep: Fix runtime PM issue in dpm_resume()

From: Greg Kroah-Hartman
Date: Sat Nov 16 2024 - 02:43:42 EST


On Thu, Nov 14, 2024 at 02:09:15PM -0800, Saravana Kannan wrote:
> Some devices might have their is_suspended flag set to false. In these
> cases, dpm_resume() should skip doing anything for those devices.
> However, runtime PM enable and a few others steps are done before
> checking for this flag. Fix it so that we do things in the right order.
>
> Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>

This looks like a nice generic fix as well, should it go to older
kernels?

thanks,

greg k-h