Re: Linux 2.6.13-rc1 - [PATCH] Don't fill up log with atxp1 vcore change message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am using atxp1 module to change vcore on my NForce2 via userspace daemon
(see punnoor.de). Currently atxp1 module will write to the log on every vcore
change, thus filling up my log - which I don't want. I am no kernel coder, but
I guess, this one-liner will change this behaviour in a wanted way, ie output
will be made for debug purposes only. (Please use the attached patch, if
inlined one got fsked up by TB.)

Cheers,

Prakash



Signed-off-by: Prakash Punnoor <[email protected]>



--- drivers/i2c/chips/atxp1.c~	2005-06-29 13:59:04.000000000 +0200
+++ drivers/i2c/chips/atxp1.c	2005-06-29 13:59:22.164237992 +0200
@@ -144,7 +144,7 @@
 	if (vid == cvid)
 		return count;

-	dev_info(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid);
+	dev_dbg(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid);

 	/* Write every 25 mV step to increase stability */
 	if (cvid > vid) {



--- drivers/i2c/chips/atxp1.c~	2005-06-29 13:59:04.000000000 +0200
+++ drivers/i2c/chips/atxp1.c	2005-06-29 13:59:22.164237992 +0200
@@ -144,7 +144,7 @@
 	if (vid == cvid)
 		return count;
 
-	dev_info(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid);
+	dev_dbg(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid);
 
 	/* Write every 25 mV step to increase stability */
 	if (cvid > vid) {

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux