* omap-cpufreq compilation breakage in 3.13-rc1
@ 2013-11-27 11:54 Pavel Machek
2013-11-27 12:03 ` Sebastian Reichel
2013-11-27 15:50 ` Viresh Kumar
0 siblings, 2 replies; 3+ messages in thread
From: Pavel Machek @ 2013-11-27 11:54 UTC (permalink / raw)
To: viresh.kumar, egtvedt, jesper.nilsson, linux, swarren, andrew,
nicolas.pitre, tianyu.lan, rafael.j.wysocki, kernel list, tony,
sre, pali.rohar, arm
Commit d4019f0a92ab802f385cc9c8ad3ab7b5449712cb broke compilation for
omap-cpufreq.c . Given impresive list of ACKs and Tested-bys, I'd not
expect such problem. This fixes it.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c
index be6d143..96c9ee49 100644
--- a/drivers/cpufreq/omap-cpufreq.c
+++ b/drivers/cpufreq/omap-cpufreq.c
@@ -56,6 +56,7 @@ static int omap_target(struct cpufreq_policy *policy, unsigned int index)
struct dev_pm_opp *opp;
unsigned long freq, volt = 0, volt_old = 0, tol = 0;
unsigned int old_freq, new_freq;
+ long ret;
old_freq = omap_getspeed(policy->cpu);
new_freq = freq_table[index].frequency;
@@ -91,6 +92,7 @@ static int omap_target(struct cpufreq_policy *policy, unsigned int index)
/* scaling up? scale voltage before frequency */
if (mpu_reg && (new_freq > old_freq)) {
+ long r;
r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol);
if (r < 0) {
dev_warn(mpu_dev, "%s: unable to scale voltage up.\n",
@@ -103,6 +105,7 @@ static int omap_target(struct cpufreq_policy *policy, unsigned int index)
/* scaling down? scale voltage after frequency */
if (mpu_reg && (new_freq < old_freq)) {
+ long r;
r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol);
if (r < 0) {
dev_warn(mpu_dev, "%s: unable to scale voltage down.\n",
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: omap-cpufreq compilation breakage in 3.13-rc1
2013-11-27 11:54 omap-cpufreq compilation breakage in 3.13-rc1 Pavel Machek
@ 2013-11-27 12:03 ` Sebastian Reichel
2013-11-27 15:50 ` Viresh Kumar
1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Reichel @ 2013-11-27 12:03 UTC (permalink / raw)
To: Pavel Machek
Cc: viresh.kumar, egtvedt, jesper.nilsson, linux, swarren, andrew,
nicolas.pitre, tianyu.lan, rafael.j.wysocki, kernel list, tony,
pali.rohar, arm
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
On Wed, Nov 27, 2013 at 12:54:07PM +0100, Pavel Machek wrote:
> Commit d4019f0a92ab802f385cc9c8ad3ab7b5449712cb broke compilation for
> omap-cpufreq.c . Given impresive list of ACKs and Tested-bys, I'd not
> expect such problem. This fixes it.
This has already been fixed in 696d0b2c786161ddc1e80dcddce7d34c2a709566:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/cpufreq/omap-cpufreq.c?id=696d0b2c786161ddc1e80dcddce7d34c2a709566
-- Sebastian
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: omap-cpufreq compilation breakage in 3.13-rc1
2013-11-27 11:54 omap-cpufreq compilation breakage in 3.13-rc1 Pavel Machek
2013-11-27 12:03 ` Sebastian Reichel
@ 2013-11-27 15:50 ` Viresh Kumar
1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2013-11-27 15:50 UTC (permalink / raw)
To: Pavel Machek
Cc: Hans-Christian Egtvedt, Jesper Nilsson, Russell King - ARM Linux,
Stephen Warren, Andrew Lunn, Nicolas Pitre, Lan Tianyu,
Rafael J. Wysocki, kernel list, Tony Lindgren, sre, pali.rohar,
arm
On 27 November 2013 17:24, Pavel Machek <pavel@ucw.cz> wrote:
> Commit d4019f0a92ab802f385cc9c8ad3ab7b5449712cb broke compilation for
> omap-cpufreq.c . Given impresive list of ACKs and Tested-bys, I'd not
> expect such problem. This fixes it.
Probably none of them have tested this on OMAP :) and actually it was my
mistake that I did during rearranging 230 odd patches..
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-27 15:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-27 11:54 omap-cpufreq compilation breakage in 3.13-rc1 Pavel Machek
2013-11-27 12:03 ` Sebastian Reichel
2013-11-27 15:50 ` Viresh Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®