[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140311104713.GN28112@sirena.org.uk>
Date: Tue, 11 Mar 2014 10:47:13 +0000
From: Mark Brown <broonie@...nel.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: linux-spi@...r.kernel.org, linux-sh@...r.kernel.org,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...ux-m68k.org>
Subject: Re: [PATCH 3/3] spi: rspi: Add runtime PM support, using spi core
auto_runtime_pm
On Tue, Mar 11, 2014 at 10:59:12AM +0100, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@...ux-m68k.org>
Applied, thanks, though...
> - ret = clk_prepare_enable(rspi->clk);
> - if (ret < 0) {
> - dev_err(&pdev->dev, "unable to prepare/enable clock\n");
> - goto error1;
> - }
> + pm_runtime_enable(&pdev->dev);
...due to the runtime PM API being configurable you're supposed to start
off with the device runtime enabled (this applies to some of the other
patches too). I'm not sure that's terribly realistic for these drivers
though.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists