Linux USB
 help / color / mirror / Atom feed
From: Peter Chen <peter.chen@kernel.org>
To: Pan Chuang <panchuang@vivo.com>
Cc: Pawel Laszczak <pawell@cadence.com>,
	Roger Quadros <rogerq@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"open list:CADENCE USB3 DRD IP DRIVER"
	<linux-usb@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 01/11] usb: cdns3: Remove redundant dev_err()
Date: Sun, 2 Aug 2026 19:29:28 -0700	[thread overview]
Message-ID: <am_9CFB7CNX8yaYy@hu-petche-lv.qualcomm.com> (raw)
In-Reply-To: <20260731035448.252289-2-panchuang@vivo.com>

On 26-07-31 11:54:35, Pan Chuang wrote:
> Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
> devm_request_*_irq()"),
> devm_request_irq() and devm_request_threaded_irq() automatically log
> detailed error messages on failure. Remove the now-redundant
> driver-specific dev_err() calls.
> 
> Signed-off-by: Pan Chuang <panchuang@vivo.com>

Acked-by: Peter Chen <peter.chen@kernel.org>

Peter
> ---
>  drivers/usb/cdns3/core.c | 4 +---
>  drivers/usb/cdns3/drd.c  | 4 +---
>  2 files changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c
> index 504bdf13ea80..87122fb5bdb8 100644
> --- a/drivers/usb/cdns3/core.c
> +++ b/drivers/usb/cdns3/core.c
> @@ -449,10 +449,8 @@ int cdns_init(struct cdns *cdns)
>  						IRQF_SHARED,
>  						dev_name(cdns->dev), cdns);
>  
> -		if (ret) {
> -			dev_err(cdns->dev, "couldn't register wakeup irq handler\n");
> +		if (ret)
>  			goto role_switch_unregister;
> -		}
>  	}
>  
>  	ret = cdns_drd_init(cdns);
> diff --git a/drivers/usb/cdns3/drd.c b/drivers/usb/cdns3/drd.c
> index d2bb682e4552..42f13757d904 100644
> --- a/drivers/usb/cdns3/drd.c
> +++ b/drivers/usb/cdns3/drd.c
> @@ -509,10 +509,8 @@ int cdns_drd_init(struct cdns *cdns)
>  					cdns_drd_thread_irq,
>  					IRQF_SHARED,
>  					dev_name(cdns->dev), cdns);
> -	if (ret) {
> -		dev_err(cdns->dev, "couldn't get otg_irq\n");
> +	if (ret)
>  		return ret;
> -	}
>  
>  	state = readl(&cdns->otg_regs->sts);
>  	if (OTGSTS_OTG_NRDY(state)) {
> -- 
> 2.34.1
> 

-- 

Thanks,
Peter Chen

  reply	other threads:[~2026-08-03  2:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31  3:54 [PATCH 00/11] usb: Remove redundant error messages on IRQ request failure Pan Chuang
2026-07-31  3:54 ` [PATCH 01/11] usb: cdns3: Remove redundant dev_err() Pan Chuang
2026-08-03  2:29   ` Peter Chen [this message]
2026-07-31  3:54 ` [PATCH 02/11] usb: common: usb-conn-gpio: " Pan Chuang
2026-07-31  3:54 ` [PATCH 03/11] usb: dwc2: gadget: " Pan Chuang
2026-07-31  3:54 ` [PATCH 04/11] usb: dwc3: Remove redundant dev_err()/dev_err_probe() Pan Chuang
2026-07-31 14:45   ` Frank Li
2026-08-05  1:00   ` Thinh Nguyen
2026-07-31  3:54 ` [PATCH 05/11] usb: gadget: Remove redundant dev_err() Pan Chuang
2026-07-31 22:41   ` Herve Codina
2026-07-31  3:54 ` [PATCH 06/11] usb: host: xhci-tegra: " Pan Chuang
2026-07-31  3:54 ` [PATCH 07/11] usb: misc: Remove redundant dev_err()/dev_err_probe() Pan Chuang
2026-07-31  3:54 ` [PATCH 08/11] usb: mtu3: Remove redundant dev_err() Pan Chuang
2026-07-31  3:54 ` [PATCH 09/11] usb: phy: Remove redundant dev_err()/dev_err_probe() Pan Chuang
2026-07-31  3:54 ` [PATCH 10/11] usb: renesas_usbhs: Remove redundant dev_err() Pan Chuang
2026-07-31  3:54 ` [PATCH 11/11] usb: typec: Remove redundant dev_err()/dev_err_probe() Pan Chuang
2026-08-05 12:12   ` Heikki Krogerus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=am_9CFB7CNX8yaYy@hu-petche-lv.qualcomm.com \
    --to=peter.chen@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=panchuang@vivo.com \
    --cc=pawell@cadence.com \
    --cc=rogerq@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox