linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pawel Laszczak <pawell@cadence.com>
To: "balbi@kernel.org" <balbi@kernel.org>
Cc: "peter.chen@nxp.com" <peter.chen@nxp.com>,
	"rogerq@ti.com" <rogerq@ti.com>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Rahul Kumar <kurahul@cadence.com>,
	Pawel Laszczak <pawell@cadence.com>
Subject: RE: [PATCH] usb: cdns3: platform_get_irq_byname_optional instead platform_get_irq_byname
Date: Wed, 30 Sep 2020 07:24:05 +0000	[thread overview]
Message-ID: <DM6PR07MB55296FF277CC3A79EE820428DD330@DM6PR07MB5529.namprd07.prod.outlook.com> (raw)
In-Reply-To: <20200930065758.23740-1-pawell@cadence.com>

Hi,

My email server complains that delivery to peter.chan@nxp.org has failed. 

This address has generated by  get_maintainer.pl.  
I only updated email to correct:  peter.chan@nxp.com.

Regards,
Pawel

>To avoid duplicate error information patch replaces platform_get_irq_byname
>into platform_get_irq_byname_optional.
>
>A change was suggested during reviewing CDNSP driver by Chunfeng Yun.
>
>Signed-off-by: Pawel Laszczak <pawell@cadence.com>
>---
> drivers/usb/cdns3/core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c
>index a0f73d4711ae..a3f6dc44cf3a 100644
>--- a/drivers/usb/cdns3/core.c
>+++ b/drivers/usb/cdns3/core.c
>@@ -465,7 +465,7 @@ static int cdns3_probe(struct platform_device *pdev)
>
> 	cdns->xhci_res[1] = *res;
>
>-	cdns->dev_irq = platform_get_irq_byname(pdev, "peripheral");
>+	cdns->dev_irq = platform_get_irq_byname_optional(pdev, "peripheral");
> 	if (cdns->dev_irq == -EPROBE_DEFER)
> 		return cdns->dev_irq;
>
>@@ -477,7 +477,7 @@ static int cdns3_probe(struct platform_device *pdev)
> 		return PTR_ERR(regs);
> 	cdns->dev_regs	= regs;
>
>-	cdns->otg_irq = platform_get_irq_byname(pdev, "otg");
>+	cdns->otg_irq = platform_get_irq_byname_optional(pdev, "otg");
> 	if (cdns->otg_irq == -EPROBE_DEFER)
> 		return cdns->otg_irq;
>
>--
>2.17.1


  reply	other threads:[~2020-09-30  7:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30  6:57 [PATCH] usb: cdns3: platform_get_irq_byname_optional instead platform_get_irq_byname Pawel Laszczak
2020-09-30  7:24 ` Pawel Laszczak [this message]
2020-10-02  8:53 ` Roger Quadros
2020-10-02  9:08   ` Pawel Laszczak
2020-10-02 10:06     ` Roger Quadros
2020-10-05  5:54       ` Pawel Laszczak
2020-10-05  8:43         ` Roger Quadros
2020-10-05  8:49           ` Pawel Laszczak
2020-10-07  3:12             ` Pawel Laszczak

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=DM6PR07MB55296FF277CC3A79EE820428DD330@DM6PR07MB5529.namprd07.prod.outlook.com \
    --to=pawell@cadence.com \
    --cc=balbi@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kurahul@cadence.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=peter.chen@nxp.com \
    --cc=rogerq@ti.com \
    /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;
as well as URLs for NNTP newsgroup(s).