Re: [PATCH v1] scsi: ufs-mediatek: Prevent LPM operation on undeclared VCC

From: Martin K. Petersen
Date: Wed Jul 29 2020 - 00:11:13 EST


On Fri, 24 Jul 2020 22:16:27 +0800, Stanley Chu wrote:

> In some platforms, VCC regulator may not be declared in device tree
> to keep itself "always-on". In this case, hba->vreg_info.vcc is NULL
> and shall not be operated during any flow.
>
> Prevent possible NULL hba->vreg_info.vcc access in LPM mode by checking
> if it is valid first.

Applied to 5.9/scsi-queue, thanks!

[1/1] scsi: ufs-mediatek: Prevent LPM operation on undeclared VCC
https://git.kernel.org/mkp/scsi/c/0255b1e3d849

--
Martin K. Petersen Oracle Linux Engineering