linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Torgue <alexandre.torgue@st.com>
To: Fabien Dessenne <fabien.dessenne@st.com>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Jose Abreu <joabreu@synopsys.com>,
	"David S . Miller" <davem@davemloft.net>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Christophe Roullier <christophe.roullier@st.com>,
	<netdev@vger.kernel.org>,
	<linux-stm32@st-md-mailman.stormreply.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] net: ethernet: stmmac: manage the get_irq probe defer case
Date: Wed, 24 Apr 2019 11:48:06 +0200	[thread overview]
Message-ID: <f35582e5-35cd-e5d1-9f53-7e7efa7a08b6@st.com> (raw)
In-Reply-To: <1556098549-18385-1-git-send-email-fabien.dessenne@st.com>

Hi

On 4/24/19 11:35 AM, Fabien Dessenne wrote:
> Manage the -EPROBE_DEFER error case for "stm32_pwr_wakeup"  IRQ.
> 
> Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
> ---
>   drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c
> index 062a600f..2142853 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c
> @@ -333,6 +333,9 @@ static int stm32mp1_parse_data(struct stm32_dwmac *dwmac,
>   	 */
>   	dwmac->irq_pwr_wakeup = platform_get_irq_byname(pdev,
>   							"stm32_pwr_wakeup");
> +	if (dwmac->irq_pwr_wakeup == -EPROBE_DEFER)
> +		return -EPROBE_DEFER;
> +
>   	if (!dwmac->clk_eth_ck && dwmac->irq_pwr_wakeup >= 0) {
>   		err = device_init_wakeup(&pdev->dev, true);
>   		if (err) {
> 

Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>

  reply	other threads:[~2019-04-24  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-24  9:35 [PATCH] net: ethernet: stmmac: manage the get_irq probe defer case Fabien Dessenne
2019-04-24  9:48 ` Alexandre Torgue [this message]
2019-04-26 15:26 ` David Miller

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=f35582e5-35cd-e5d1-9f53-7e7efa7a08b6@st.com \
    --to=alexandre.torgue@st.com \
    --cc=christophe.roullier@st.com \
    --cc=davem@davemloft.net \
    --cc=fabien.dessenne@st.com \
    --cc=joabreu@synopsys.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.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).