mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-10 21:48:45 -04:00
drm/msm/dsi: Drop unnecessary -ENOMEM message
Kernel core already prints detailed report about memory allocation failures, so drivers should not have their own error messages. Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/637308/ Link: https://lore.kernel.org/r/20250214-drm-msm-cleanups-v2-4-1bec50f37dc1@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
committed by
Dmitry Baryshkov
parent
cce156257e
commit
b39e7014ed
@@ -1910,10 +1910,8 @@ int msm_dsi_host_init(struct msm_dsi *msm_dsi)
|
||||
return dev_err_probe(&pdev->dev, ret, "%s: unable to initialize dsi clks\n", __func__);
|
||||
|
||||
msm_host->rx_buf = devm_kzalloc(&pdev->dev, SZ_4K, GFP_KERNEL);
|
||||
if (!msm_host->rx_buf) {
|
||||
pr_err("%s: alloc rx temp buf failed\n", __func__);
|
||||
if (!msm_host->rx_buf)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
ret = devm_pm_opp_set_clkname(&pdev->dev, "byte");
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user