lkml.org 
[lkml]   [2021]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] soc: qcom: ipa: Remove superfluous error message around platform_get_irq()
From
From:  Zhongjun Tan <hbut_tan@163.com>
Date: Thu, 10 Jun 2021 22:01:18 +0800

> diff --git a/drivers/net/ipa/ipa_smp2p.c b/drivers/net/ipa/ipa_smp2p.c
> index 34b68dc43886..93270e50b6b3 100644
> --- a/drivers/net/ipa/ipa_smp2p.c
> +++ b/drivers/net/ipa/ipa_smp2p.c
> @@ -177,11 +177,8 @@ static int ipa_smp2p_irq_init(struct ipa_smp2p *smp2p, const char *name,
> int ret;
>
> ret = platform_get_irq_byname(smp2p->ipa->pdev, name);
> - if (ret <= 0) {
> - dev_err(dev, "DT error %d getting \"%s\" IRQ property\n",
> - ret, name);
> + if (ret <= 0)
Applied, but this code still rejects an irq of zero which is a valid irq number.

\
 
 \ /
  Last update: 2021-06-10 23:12    [W:0.052 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site