mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
wifi: ath11k: Silence remoteproc probe deferral prints
Upon failing to resolve the remoteproc phandle one ath11k_dbg() and one ath11k_err() is used to tell the user about the (presumably) temporary failure. Reduce the log spam by removing the duplicate print and switching to dev_err_probe(), in line with how ath12k handles this error. Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://patch.msgid.link/20260212-ath11k-silence-probe-deferr-v1-1-b8a49bb3c332@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
This commit is contained in:
parent
ff49eba595
commit
6508c97524
|
|
@ -807,10 +807,8 @@ static int ath11k_core_get_rproc(struct ath11k_base *ab)
|
|||
}
|
||||
|
||||
prproc = rproc_get_by_phandle(rproc_phandle);
|
||||
if (!prproc) {
|
||||
ath11k_dbg(ab, ATH11K_DBG_AHB, "failed to get rproc, deferring\n");
|
||||
return -EPROBE_DEFER;
|
||||
}
|
||||
if (!prproc)
|
||||
return dev_err_probe(&ab->pdev->dev, -EPROBE_DEFER, "failed to get rproc\n");
|
||||
ab_ahb->tgt_rproc = prproc;
|
||||
|
||||
return 0;
|
||||
|
|
@ -1190,10 +1188,8 @@ static int ath11k_ahb_probe(struct platform_device *pdev)
|
|||
ath11k_ahb_init_qmi_ce_config(ab);
|
||||
|
||||
ret = ath11k_core_get_rproc(ab);
|
||||
if (ret) {
|
||||
ath11k_err(ab, "failed to get rproc: %d\n", ret);
|
||||
if (ret)
|
||||
goto err_ce_free;
|
||||
}
|
||||
|
||||
ret = ath11k_core_init(ab);
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user