[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170730170738.GA29373@lunn.ch>
Date: Sun, 30 Jul 2017 19:07:38 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Niklas Söderlund
<niklas.soderlund+renesas@...natech.se>
Cc: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH v2] ravb: add wake-on-lan support via magic packet
Hi Niklas
> @@ -2041,6 +2073,11 @@ static int ravb_probe(struct platform_device *pdev)
>
> priv->chip_id = chip_id;
>
> + /* Get clock, if not found that's OK but Wake-On-Lan is unavailable */
> + priv->clk = devm_clk_get(&pdev->dev, NULL);
> + if (IS_ERR(priv->clk))
> + priv->clk = NULL;
Can you get EPROBE_DEFER returned?
Andrew
Powered by blists - more mailing lists