Re: scsi: ufs: Problem at init on msm8998

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

 



On 13/12/2018 15:24, Marc Gonzalez wrote:

> I'm having trouble getting UFS working on an APQ8098 MEDIABOX dev board.
> (I'm running v4.20-rc4 with a few UFS patches taken off the MSM list.)
> 
> I'm hoping someone with experience with the UFSHC will spot the one thing
> missing that will make everything work!

Based on Jeffrey's feedback, I looked at voltage regulators again, and
I think there might be an issue in drivers/scsi/ufs/ufshcd.c

ufshcd_enable_vreg() is supposed to enable a given voltage regulator.

To do so it calls ufshcd_config_vreg() and then regulator_enable()

ufshcd_config_vreg() calls regulator_set_voltage() and regulator_set_load()

However, regulator_set_load() fails if the regulator is not enabled.

So ufshcd_enable_vreg() fails because the regulator is not enabled...

Catch 22?



[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