RE: [PATCH RESEND v3 3/5] scsi: ufs: Fix regulator load and icc-level configuration

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

 



> 
> Currently if a regulator has "<name>-fixed-regulator"
> property in device tree, it will skip current limit initialization.
> This lead to a zero "max_uA" value in struct ufs_vreg.
> 
> However, "regulator_set_load" operation shall be required
> on regulators which have valid current limits, otherwise a zero
> "max_uA" set by "regulator_set_load" may cause unexpected behavior
> when this regulator is enabled or set as high power mode.
> 
> Similarly, in device's icc_level configuration flow, the target
> icc_level shall be updated if regulator also has valid current limit,
> otherwise a wrong icc_level will be calculated by zero "max_uA" and
> thus causes unexpected results after it is written to device.
> 
> Signed-off-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>




[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