All of lore.kernel.org
 help / color / mirror / Atom feed
* speedstep-smi detection broken.
@ 2006-10-17  5:55 Dave Jones
  2006-10-17 14:00 ` Hiroshi Miura
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2006-10-17  5:55 UTC (permalink / raw)
  To: miura; +Cc: cpufreq

If someone inserts speedstep-smi on a mobile P4,
it prevents other cpufreq modules from loading until it
is unloaded.

Opinions on this patch ?
(I'm tempted to just remove the printk too).

	Dave

--- local-git/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c~	2006-10-17 01:53:29.000000000 -0400
+++ local-git/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c	2006-10-17 01:54:02.000000000 -0400
@@ -362,7 +362,7 @@ static int __init speedstep_init(void)
 		break;
 	case SPEEDSTEP_PROCESSOR_P4M:
 		printk(KERN_INFO "speedstep-smi: you're trying to use this cpufreq driver on a Pentium 4-based CPU. Most likely it will not work.\n");
-		break;
+		return -ENODEV;
 	default:
 		speedstep_processor = 0;
 	}


-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-10-18  3:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-17  5:55 speedstep-smi detection broken Dave Jones
2006-10-17 14:00 ` Hiroshi Miura
2006-10-17 18:07   ` Dave Jones
2006-10-18  3:59     ` Hiroshi Miura

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.