Re: [PATCH 1/2] scsi: ufs: Simplify power management during async scan

Manivannan Sadhasivam
2023-12-20T16:59:20Z

On Wed, Dec 20, 2023 at 08:36:28AM -0800, Bart Van Assche wrote:
> On 12/20/23 06:42, Manivannan Sadhasivam wrote:
> > On Mon, Dec 18, 2023 at 02:52:14PM -0800, Bart Van Assche wrote:
> > > ufshcd_init() calls pm_runtime_get_sync() before it calls
> > > async_schedule(). ufshcd_async_scan() calls pm_runtime_put_sync()
> > > directly or indirectly from ufshcd_add_lus(). Simplify
> > > ufshcd_async_scan() by always calling pm_runtime_put_sync() from
> > > ufshcd_async_scan().
> > >
> > > Cc: stable@vger.kernel.org
> >
> > No fixes tag?
>
> There is no Fixes: tag because this patch does not change the behavior of
> the UFS driver. The Cc: stable tag is present because the next patch in this
> series has a Fixes: tag and depends on this patch.
>

Ok.

- Mani

> Thanks,
>
> Bart.

--
மணிவண்ணன் சதாசிவம்