[PATCH v2] scsi: ufs: mediatek: handle mPHY power-on failures
Martin K. Petersen (Oracle)
mkp at kernel.org
Mon Oct 5 19:43:51 PDT 2026
On Sun, 20 Sep 2026 11:49:53 +0800, Pengpeng Hou wrote:
> The MediaTek helper enables VA09 before powering on the mPHY, but
> ignores the PHY result. A failure can leave VA09 enabled and publish
> mphy_powered_on as true, so a later power-on attempt is skipped.
>
> Check phy_power_on(), attempt to unwind VA09 on failure, and leave the
> state flag unchanged. Propagate the helper result from host
> initialization as well as its existing resume caller. Keep the original
> PHY error if the supply rollback also fails, and report that rollback
> separately.
>
> [...]
Applied to 7.3/scsi-fixes, thanks!
[1/1] scsi: ufs: mediatek: handle mPHY power-on failures
https://git.kernel.org/mkp/scsi/c/78e04810542d
--
Martin K. Petersen
More information about the Linux-mediatek
mailing list