merged. Bruce
In message: [linux-yocto][linux-yocto v5.4/standard/ti-j72x][PATCH] net: ethernet: ti: am65-cpsw: Silence dma channel request error on -EPROBE_DEFER on 05/03/2021 Xulin Sun wrote: > Silence dma channel request error error with dev_dbg() on -EPROBE_DEFER. > > To eliminate the below failed information: > am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517 > > Signed-off-by: Xulin Sun <xulin....@windriver.com> > --- > drivers/net/ethernet/ti/am65-cpsw-nuss.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ethernet/ti/am65-cpsw-nuss.c > b/drivers/net/ethernet/ti/am65-cpsw-nuss.c > index 569e47d8428d..ad12ea19bb20 100644 > --- a/drivers/net/ethernet/ti/am65-cpsw-nuss.c > +++ b/drivers/net/ethernet/ti/am65-cpsw-nuss.c > @@ -1571,8 +1571,10 @@ static int am65_cpsw_nuss_init_tx_chns(struct > am65_cpsw_common *common) > &tx_cfg); > if (IS_ERR(tx_chn->tx_chn)) { > ret = PTR_ERR(tx_chn->tx_chn); > - dev_err(dev, "Failed to request tx dma channel %d\n", > - ret); > + if (ret == -EPROBE_DEFER) > + dev_dbg(dev, "Failed to request tx dma channel > %d\n", ret); > + else > + dev_err(dev, "Failed to request tx dma channel > %d\n", ret); > goto err; > } > > -- > 2.17.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9510): https://lists.yoctoproject.org/g/linux-yocto/message/9510 Mute This Topic: https://lists.yoctoproject.org/mt/81092971/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-