RE: [PATCH v2] scsi: ufs: Fix possible infinite loop in ufshcd_hold

From: Stanley Chu
Date: Thu Aug 06 2020 - 20:39:27 EST


Hi Avri,


On Tue, 2020-08-04 at 06:10 +0000, Avri Altman wrote:
> > Hi Avri,
> >
> > Would you have any suggestions for this patch?
> >
> > We need this patch to enable UFSHCD_CAP_HIBERN8_WITH_CLK_GATING in
> > MediaTek platform.
> >
> > Thanks a lot,
> >
> > Stanley Chu
> Let's use it for now as a short-term WA.
> Please work with Can on a proper fix that will utilize his idea to remove ufshcd_hold/release
> From ufshcd_send_uic_cmd, as you are both in agreement that this should work as the long term solution.
>
>
> > > > >
> > > > >>
> > > > >> > Signed-off-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>
> > > > >> > Signed-off-by: Andy Teng <andy.teng@xxxxxxxxxxxx>
> Reviewed-by: Avri Altman <avri.altman@xxxxxxx>

Thanks!

I will continue with the long term solution with Can.

BTW, this mail seems not showing up in LKML or Patchwork, just reply
this mail with removing "[SPAM]" keyword in title.

Thanks,
Stanley Chu