Skip to content
Commit 8c1561ed authored by Chengci.Xu's avatar Chengci.Xu Committed by Krzysztof Kozlowski
Browse files

memory: mtk-smi: Add return value for configure port function



In MT8188, the register to enable/disable IOMMU can only be configured
in secure world by SMC call. We should add a return value for configure
port function for preparation because SMC call may return an error result.

Signed-off-by: default avatarChengci.Xu <chengci.xu@mediatek.com>
Reviewed-by: default avatarYong Wu <yong.wu@mediatek.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220817124608.10062-3-chengci.xu@mediatek.com
parent 9d9fde47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment