@@ -2342,11 +2350,19 @@ static int pl022_runtime_resume(struct device *dev)
return 0;
}
+
+static int pl022_runtime_idle(struct device *dev)
+{
+pm_runtime_suspend(dev);
+return 0;
+}
#endif
static const struct dev_pm_ops pl022_dev_pm_ops = {
On Thu, Nov 03, 2011 at 02:59:53PM +0100, Ulf Hansson wrote:
@@ -2342,11 +2350,19 @@ static int pl022_runtime_resume(struct device *dev)
return 0;
}
+
+static int pl022_runtime_idle(struct device *dev)
+{
+ pm_runtime_suspend(dev);
+ return 0;
+}
#endif
static const struct
Russell King - ARM Linux wrote:
On Thu, Nov 03, 2011 at 02:59:53PM +0100, Ulf Hansson wrote:
@@ -2342,11 +2350,19 @@ static int pl022_runtime_resume(struct device *dev)
return 0;
}
+
+static int pl022_runtime_idle(struct device *dev)
+{
+ pm_runtime_suspend(dev);
+ return 0;
+}
On Fri, Oct 21, 2011 at 04:08:44PM +0200, Ulf Hansson wrote:
Since we are always runtime resumed when leaving probe
the clock must be enabled. To accomplish that we are able
to be runtime suspended after probe in the case when no
request is going to be recieved, a runtime_idle function
has
Linus Walleij wrote:
On Fri, Oct 21, 2011 at 4:08 PM, Ulf Hansson ulf.hans...@stericsson.com
wrote:
Since we are always runtime resumed when leaving probe
the clock must be enabled. To accomplish that we are able
to be runtime suspended after probe in the case when no
request is going to
On Fri, Oct 21, 2011 at 04:08:44PM +0200, Ulf Hansson wrote:
Since we are always runtime resumed when leaving probe
the clock must be enabled. To accomplish that we are able
to be runtime suspended after probe in the case when no
request is going to be recieved, a runtime_idle function
has
2011/10/24 Russell King - ARM Linux li...@arm.linux.org.uk:
On Mon, Oct 24, 2011 at 02:03:42PM +0200, Grant Likely wrote:
On Fri, Oct 21, 2011 at 04:08:44PM +0200, Ulf Hansson wrote:
Since we are always runtime resumed when leaving probe
the clock must be enabled. To accomplish that we are
On Fri, Oct 21, 2011 at 4:08 PM, Ulf Hansson ulf.hans...@stericsson.com wrote:
Since we are always runtime resumed when leaving probe
the clock must be enabled. To accomplish that we are able
to be runtime suspended after probe in the case when no
request is going to be recieved, a
Since we are always runtime resumed when leaving probe
the clock must be enabled. To accomplish that we are able
to be runtime suspended after probe in the case when no
request is going to be recieved, a runtime_idle function
has been implemented.
Change-Id: