[PATCH] iommu/mediatek: Log with dev_err_probe when failing to parse dts

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Wed Jul 13 01:15:55 PDT 2022


Il 12/07/22 23:44, Nícolas F. R. A. Prado ha scritto:
> mtk_iommu_mm_dts_parse() can fail with EPROBE_DEFER if not all larbs
> have probed yet, so use dev_err_probe() to avoid logging as an error in
> that case. Also drop the return value from the message since it's
> already printed by dev_err_probe(), and add the missing newline at the
> end.
> 
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
> 

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>




More information about the Linux-mediatek mailing list