drm/msm: Check return value of of_dma_configure()
[ Upstream commit b34a7401 ] 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@linux.dev> Reviewed-by:
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Fixes: 29ac8979 ("drm/msm/a6xx: use msm_gem for GMU memory objects") Fixes: 5a903a44 ("drm/msm/a6xx: Introduce GMU wrapper support") Reviewed-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/622782/ Link: https://lore.kernel.org/r/20241104090738.529848-1-sui.jingfeng@linux.dev Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment