diff for duplicates of <20101021144346.GA26460@ericsson.com> diff --git a/a/1.txt b/N1/1.txt index f7109e8..f99721b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -76,11 +76,11 @@ Ok. Not sure if rounding up really helps there, though. > > > > Assume num_speed = 8, pwm is set to 128. > > -> > set: 128 * (8 - 1) / 255 = 3.513 => 4 -> > get: 4 * 255 / (8 - 1) = 145.7 => 146 -> > set: 146 * (8 - 1) / 255 = 4.007 => 5 -> > get: 5 * 255 / (8 - 1) = 182.142 => 182 -> > set: 182 * (8 - 1) / 255 = 4.996 => 5 +> > set: 128 * (8 - 1) / 255 = 3.513 ==> 4 +> > get: 4 * 255 / (8 - 1) = 145.7 ==> 146 +> > set: 146 * (8 - 1) / 255 = 4.007 ==> 5 +> > get: 5 * 255 / (8 - 1) = 182.142 ==> 182 +> > set: 182 * (8 - 1) / 255 = 4.996 ==> 5 > > > > Unless there is a really good reason to use DIV_ROUND_UP(), you might > > want to use DIV_ROUND_CLOSEST() instead. @@ -101,8 +101,3 @@ the startup problem. Thanks, Guenter - -_______________________________________________ -lm-sensors mailing list -lm-sensors@lm-sensors.org -http://lists.lm-sensors.org/mailman/listinfo/lm-sensors diff --git a/a/content_digest b/N1/content_digest index 598ce5a..91ae8fa 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,9 +2,9 @@ "ref\01287592646-18109-2-git-send-email-sguinot@lacie.com\0" "ref\020101021064145.GA25095@ericsson.com\0" "ref\020101021140626.GQ29120@kw.sim.vm.gnt\0" - "From\0Guenter Roeck <guenter.roeck@ericsson.com>\0" - "Subject\0Re: [lm-sensors] [PATCH v2] hwmon: add generic GPIO fan driver\0" - "Date\0Thu, 21 Oct 2010 14:43:46 +0000\0" + "From\0guenter.roeck@ericsson.com (Guenter Roeck)\0" + "Subject\0[PATCH v2] hwmon: add generic GPIO fan driver\0" + "Date\0Thu, 21 Oct 2010 07:43:46 -0700\0" "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" @@ -86,11 +86,11 @@ "> > \n" "> > Assume num_speed = 8, pwm is set to 128.\n" "> > \n" - "> > set: 128 * (8 - 1) / 255 = 3.513 => 4\n" - "> > get: 4 * 255 / (8 - 1) = 145.7 => 146\n" - "> > set: 146 * (8 - 1) / 255 = 4.007 => 5\n" - "> > get: 5 * 255 / (8 - 1) = 182.142 => 182\n" - "> > set: 182 * (8 - 1) / 255 = 4.996 => 5\n" + "> > set: 128 * (8 - 1) / 255 = 3.513 ==> 4\n" + "> > get: 4 * 255 / (8 - 1) = 145.7 ==> 146\n" + "> > set: 146 * (8 - 1) / 255 = 4.007 ==> 5\n" + "> > get: 5 * 255 / (8 - 1) = 182.142 ==> 182\n" + "> > set: 182 * (8 - 1) / 255 = 4.996 ==> 5\n" "> > \n" "> > Unless there is a really good reason to use DIV_ROUND_UP(), you might\n" "> > want to use DIV_ROUND_CLOSEST() instead.\n" @@ -110,11 +110,6 @@ "\n" "Thanks,\n" "\n" - "Guenter\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + Guenter -2d38d62e1e09c46630bc41679407ce1a81a6551e0856fa82ffa877bce8fcee60 +a014d8e164938bec22b032880fc2608c37efd592e005a33addef684d976dd52a
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.