Re: [PATCH v2] scsi: ufs: mediatek: handle mPHY power-on failures

From: Martin K. Petersen (Oracle)

Date: Mon Oct 05 2026 - 22:44:28 EST


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