Re: [PATCH v3 0/2] scsi: ufs-mediatek: fix va09 regulator lifecycle
From: Martin K. Petersen (Oracle)
Date: Fri Nov 20 2026 - 22:25:12 EST
On Thu, 19 Nov 2026 15:16:08 +0800, Xiangwu Lai wrote:
> Two fixes for the va09 regulator handling of the Mediatek UFS variant
> driver.
>
> Patch 1 converts the va09 acquisition to devm_regulator_get() and adds
> an .exit callback that powers the M-PHY off, so the enable count is
> balanced when devm releases the regulator.
>
> [...]
Applied to 7.4/scsi-fixes, thanks!
[1/2] scsi: ufs-mediatek: use devm_regulator_get() for the va09 regulator
https://git.kernel.org/mkp/scsi/c/def1745a6a8b
[2/2] scsi: ufs-mediatek: restore the M-PHY power state when va09 disable fails
https://git.kernel.org/mkp/scsi/c/71b5da0b45fb
--
Martin K. Petersen