Thread (5 messages) 5 messages, 4 authors, 2021-06-22

Re: [PATCH] ASoC: fsl-asoc-card: change dev_err to dev_dbg for defer probe

flat view

From: Shengjiu Wang <shengjiu.wang@gmail.com>
Date: 2021-06-03 02:56:24
Also in: alsa-devel, lkml

On Wed, Jun 2, 2021 at 11:45 PM Fabio Estevam [off-list ref] wrote:
Hi Shengjiu,

On Wed, Jun 2, 2021 at 3:59 AM Shengjiu Wang [off-list ref] wrote:
quoted
Don't need to print error message for defer probe
...
quoted
        if (!fsl_asoc_card_is_ac97(priv) && !codec_dev) {
-               dev_err(&pdev->dev, "failed to find codec device\n");
+               dev_dbg(&pdev->dev, "failed to find codec device\n");
You may consider using dev_err_probe() here, which fits exactly this purpose.
ok, let me update it.

best regards
wang shengjiu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help