Re: [PATCH] drm/msm: Check return value of of_dma_configure()
From: Konrad Dybcio
Date: Mon Nov 04 2024 - 04:54:04 EST
On 4.11.2024 10:07 AM, Sui Jingfeng wrote:
> Because the of_dma_configure() will returns '-EPROBE_DEFER' if the probe
> procedure of the specific platform IOMMU driver is not finished yet. It
> can also return other error code for various reasons.
>
> Stop pretending that it will always suceess, quit if it fail.
>
> Signed-off-by: Sui Jingfeng <sui.jingfeng@xxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad