Re: [PATCH 11/29] scsi: ufs: Remove unused constants and code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bart, Avri,

On Tue, 2022-04-05 at 06:55 +0000, Avri Altman wrote:
> > 
> > On 4/1/22 23:59, Avri Altman wrote:
> > > > 
> > > > Commit 5b44a07b6bb2 ("scsi: ufs: Remove pre-defined initial
> > > > voltage
> > > > values of device power") removed the code that uses the
> > 
> > UFS_VREG_VCC*
> > > > constants and also the code that sets the min_uV and max_uV
> > > > member
> > > > variables. Hence also remove these constants and that member
> > > > variable.
> > > > 
> > > > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
> > > 
> > > Looks fine to me, but better get an ack from Stanley, because he
> > > specifically wrote in his commit log:
> > > "...
> > > Note that we keep struct ufs_vreg unchanged. This allows vendors
> > > to
> > >      configure proper min_uV and max_uV of any regulators to make
> > >      regulator_set_voltage() works during regulator toggling flow
> > > in the
> > >      future. Without specific vendor configurations, min_uV and
> > > max_uV will
> > 
> > be
> > >      NULL by default and UFS core driver will enable or disable
> > > the regulator
> > >      only without adjusting its voltage.
> > > ..."
> > 
> > (+Stanley)
> > 
> > Hi Stanley,
> > 
> > Can you take a look at this patch?
> 
> If Stanley won't comment by your v2 - please add my RB.
> 
> Thanks,
> Avri
> 

Fine to me: )

Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux