Re: [PATCH v2 5/6] memory: mtk-smi: Add sleep ctrl function

From: AngeloGioacchino Del Regno
Date: Tue Jan 11 2022 - 04:14:31 EST


Il 11/01/22 07:39, Yong Wu ha scritto:
Sleep control means that when the larb goes to sleep, we should wait a bit
until all the current commands are finished. Thus, when the larb runtime
suspends, we need to enable this function to wait until all the existed
commands are finished. When the larb resumes, just disable this function.
This function only improves the safety of bus. Add a new flag for this
function. Prepare for mt8186.

Signed-off-by: Anan Sun <anan.sun@xxxxxxxxxxxx>
Signed-off-by: Yong Wu <yong.wu@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>