Thread (3 messages) 3 messages, 3 authors, 2020-07-29

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

From: Avri Altman <Avri.Altman@wdc.com>
Date: 2020-07-27 10:56:17
Also in: linux-mediatek, linux-scsi, lkml

 
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.

Signed-off-by: Stanley Chu <redacted>
Reviewed-by: Avri Altman <avri.altman@wdc.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help