diff for duplicates of <87a9mkttxr.fsf@natisbad.org> diff --git a/a/1.txt b/N1/1.txt index 2a2ec02..235279b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -22,7 +22,7 @@ which I will create a separate thread. Simon, the symptom you reported for your read failures are different from those I get so I don't think the revert will fix your problem but it may be worth trying it. -[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bugb2325 +[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622325 Cheers, @@ -179,7 +179,7 @@ index 0000000..25cc6d8 + } + } + -+ g762: g762@3e { ++ g762: g762 at 3e { + compatible = "gmt,g762"; + reg = <0x3e>; + clocks = <&g762_clk> @@ -194,7 +194,7 @@ index 0000000..923db9c +++ b/Documentation/hwmon/g762 @@ -0,0 +1,65 @@ +Kernel driver g762 -+========= ++================== + +The GMT G762 Fan Speed PWM Controller is connected directly to a fan +and performs closed-loop or open-loop control of the fan speed. Two @@ -482,7 +482,7 @@ index 0000000..73adf01 +static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk_freq, u16 p, + u8 clk_div, u8 gear_mult) +{ -+ if (cnt = 0xff) /* setting cnt to 255 stops the fan */ ++ if (cnt == 0xff) /* setting cnt to 255 stops the fan */ + return 0; + + return (clk_freq * 30 * gear_mult) / ((cnt ? cnt : 1) * p * clk_div); @@ -742,7 +742,7 @@ index 0000000..73adf01 + * only in PWM mode). To workaround this bug, we give SET_CNT + * value of 254 if it is 255 when switching to open-loop. + */ -+ if (data->set_cnt = 0xff) ++ if (data->set_cnt == 0xff) + i2c_smbus_write_byte_data(client, G762_REG_SET_CNT, + 254); + break; @@ -1170,7 +1170,7 @@ index 0000000..73adf01 + * Following documentation about hwmon's sysfs interface, a pwm1_enable node + * should accept followings: + * -+ * 0 : no fan speed control (i.e. fan at full speed) ++ * 0 : no fan speed control (i.e. fan@full speed) + * 1 : manual fan speed control enabled (use pwm[1-*]) (open-loop) + * 2+: automatic fan speed control enabled (use fan[1-*]_target) (closed-loop) + * @@ -1209,7 +1209,7 @@ index 0000000..73adf01 +/* + * Read and write functions for pwm1 sysfs file. Get and set pwm value + * (which affects fan speed) in open-loop mode. 0 stops the fan and 255 -+ * makes it run at full speed. ++ * makes it run@full speed. + */ +static ssize_t get_pwm(struct device *dev, struct device_attribute *da, + char *buf) @@ -1491,9 +1491,3 @@ index 0000000..d3c5128 +#endif /* __LINUX_PLATFORM_DATA_G762_H__ */ -- 1.7.10.4 - - -_______________________________________________ -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 54bcc3f..5250818 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,20 +1,7 @@ "From\0arno@natisbad.org (Arnaud Ebalard)\0" - "Subject\0[lm-sensors] [PATCHv8 1/1] Add support for GMT G762/G763 PWM fan controllers\0" - "Date\0Thu, 20 Jun 2013 20:21:04 +0000\0" - "To\0Guenter Roeck <linux@roeck-us.net>\0" - "Cc\0Andrew Lunn <andrew@lunn.ch>" - Russell King - ARM Linux <linux@arm.linux.org.uk> - Jason Cooper <jason@lakedaemon.net> - linux-doc@vger.kernel.org - devicetree-discuss@lists.ozlabs.org - Olivier Mouchet <olivier.mouchet@gmail.com> - Rob Herring <rob.herring@calxeda.com> - lm-sensors@lm-sensors.org - Grant Likely <grant.likely@secretlab.ca> - Rob Landley <rob@landley.net> - Jean Delvare <khali@linux-fr.org> - Linux ARM Kernel Mailing List <linux-arm-kernel@lists.infradead.org> - " Simon Guinot <simon.guinot@sequanux.org>\0" + "Subject\0[PATCHv8 1/1] Add support for GMT G762/G763 PWM fan controllers\0" + "Date\0Thu, 20 Jun 2013 22:21:04 +0200\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "\n" @@ -41,7 +28,7 @@ "for your read failures are different from those I get so I don't think\n" "the revert will fix your problem but it may be worth trying it.\n" "\n" - "[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bugb2325\n" + "[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622325\n" "\n" "Cheers,\n" "\n" @@ -198,7 +185,7 @@ "+\t}\n" "+ }\n" "+\n" - "+ g762: g762@3e {\n" + "+ g762: g762 at 3e {\n" "+\tcompatible = \"gmt,g762\";\n" "+\treg = <0x3e>;\n" "+\tclocks = <&g762_clk>\n" @@ -213,7 +200,7 @@ "+++ b/Documentation/hwmon/g762\n" "@@ -0,0 +1,65 @@\n" "+Kernel driver g762\n" - "+=========\n" + "+==================\n" "+\n" "+The GMT G762 Fan Speed PWM Controller is connected directly to a fan\n" "+and performs closed-loop or open-loop control of the fan speed. Two\n" @@ -501,7 +488,7 @@ "+static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk_freq, u16 p,\n" "+\t\t\t\t\tu8 clk_div, u8 gear_mult)\n" "+{\n" - "+\tif (cnt = 0xff) /* setting cnt to 255 stops the fan */\n" + "+\tif (cnt == 0xff) /* setting cnt to 255 stops the fan */\n" "+\t\treturn 0;\n" "+\n" "+\treturn (clk_freq * 30 * gear_mult) / ((cnt ? cnt : 1) * p * clk_div);\n" @@ -761,7 +748,7 @@ "+\t\t * only in PWM mode). To workaround this bug, we give SET_CNT\n" "+\t\t * value of 254 if it is 255 when switching to open-loop.\n" "+\t\t */\n" - "+\t\tif (data->set_cnt = 0xff)\n" + "+\t\tif (data->set_cnt == 0xff)\n" "+\t\t\ti2c_smbus_write_byte_data(client, G762_REG_SET_CNT,\n" "+\t\t\t\t\t\t 254);\n" "+\t\tbreak;\n" @@ -1189,7 +1176,7 @@ "+ * Following documentation about hwmon's sysfs interface, a pwm1_enable node\n" "+ * should accept followings:\n" "+ *\n" - "+ * 0 : no fan speed control (i.e. fan at full speed)\n" + "+ * 0 : no fan speed control (i.e. fan@full speed)\n" "+ * 1 : manual fan speed control enabled (use pwm[1-*]) (open-loop)\n" "+ * 2+: automatic fan speed control enabled (use fan[1-*]_target) (closed-loop)\n" "+ *\n" @@ -1228,7 +1215,7 @@ "+/*\n" "+ * Read and write functions for pwm1 sysfs file. Get and set pwm value\n" "+ * (which affects fan speed) in open-loop mode. 0 stops the fan and 255\n" - "+ * makes it run at full speed.\n" + "+ * makes it run@full speed.\n" "+ */\n" "+static ssize_t get_pwm(struct device *dev, struct device_attribute *da,\n" "+\t\t char *buf)\n" @@ -1509,12 +1496,6 @@ "+\n" "+#endif /* __LINUX_PLATFORM_DATA_G762_H__ */\n" "-- \n" - "1.7.10.4\n" - "\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + 1.7.10.4 -e2261c35fedd17d0aacd968eee57f2f714c736c075fa4381424fc2b7e33f929c +928463816e7152e3f7731a11e1ee305b463d72aee5c1f87bc618369584099920
diff --git a/a/1.txt b/N2/1.txt index 2a2ec02..f62d0df 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -22,7 +22,7 @@ which I will create a separate thread. Simon, the symptom you reported for your read failures are different from those I get so I don't think the revert will fix your problem but it may be worth trying it. -[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bugb2325 +[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622325 Cheers, @@ -194,7 +194,7 @@ index 0000000..923db9c +++ b/Documentation/hwmon/g762 @@ -0,0 +1,65 @@ +Kernel driver g762 -+========= ++================== + +The GMT G762 Fan Speed PWM Controller is connected directly to a fan +and performs closed-loop or open-loop control of the fan speed. Two @@ -482,7 +482,7 @@ index 0000000..73adf01 +static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk_freq, u16 p, + u8 clk_div, u8 gear_mult) +{ -+ if (cnt = 0xff) /* setting cnt to 255 stops the fan */ ++ if (cnt == 0xff) /* setting cnt to 255 stops the fan */ + return 0; + + return (clk_freq * 30 * gear_mult) / ((cnt ? cnt : 1) * p * clk_div); @@ -742,7 +742,7 @@ index 0000000..73adf01 + * only in PWM mode). To workaround this bug, we give SET_CNT + * value of 254 if it is 255 when switching to open-loop. + */ -+ if (data->set_cnt = 0xff) ++ if (data->set_cnt == 0xff) + i2c_smbus_write_byte_data(client, G762_REG_SET_CNT, + 254); + break; @@ -1491,9 +1491,3 @@ index 0000000..d3c5128 +#endif /* __LINUX_PLATFORM_DATA_G762_H__ */ -- 1.7.10.4 - - -_______________________________________________ -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/N2/content_digest index 54bcc3f..469c612 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,6 +1,7 @@ "From\0arno@natisbad.org (Arnaud Ebalard)\0" - "Subject\0[lm-sensors] [PATCHv8 1/1] Add support for GMT G762/G763 PWM fan controllers\0" - "Date\0Thu, 20 Jun 2013 20:21:04 +0000\0" + "From\0arno@natisbad.org (Arnaud Ebalard)\0" + "Subject\0[PATCHv8 1/1] Add support for GMT G762/G763 PWM fan controllers\0" + "Date\0Thu, 20 Jun 2013 22:21:04 +0200\0" "To\0Guenter Roeck <linux@roeck-us.net>\0" "Cc\0Andrew Lunn <andrew@lunn.ch>" Russell King - ARM Linux <linux@arm.linux.org.uk> @@ -41,7 +42,7 @@ "for your read failures are different from those I get so I don't think\n" "the revert will fix your problem but it may be worth trying it.\n" "\n" - "[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bugb2325\n" + "[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622325\n" "\n" "Cheers,\n" "\n" @@ -213,7 +214,7 @@ "+++ b/Documentation/hwmon/g762\n" "@@ -0,0 +1,65 @@\n" "+Kernel driver g762\n" - "+=========\n" + "+==================\n" "+\n" "+The GMT G762 Fan Speed PWM Controller is connected directly to a fan\n" "+and performs closed-loop or open-loop control of the fan speed. Two\n" @@ -501,7 +502,7 @@ "+static inline unsigned int rpm_from_cnt(u8 cnt, u32 clk_freq, u16 p,\n" "+\t\t\t\t\tu8 clk_div, u8 gear_mult)\n" "+{\n" - "+\tif (cnt = 0xff) /* setting cnt to 255 stops the fan */\n" + "+\tif (cnt == 0xff) /* setting cnt to 255 stops the fan */\n" "+\t\treturn 0;\n" "+\n" "+\treturn (clk_freq * 30 * gear_mult) / ((cnt ? cnt : 1) * p * clk_div);\n" @@ -761,7 +762,7 @@ "+\t\t * only in PWM mode). To workaround this bug, we give SET_CNT\n" "+\t\t * value of 254 if it is 255 when switching to open-loop.\n" "+\t\t */\n" - "+\t\tif (data->set_cnt = 0xff)\n" + "+\t\tif (data->set_cnt == 0xff)\n" "+\t\t\ti2c_smbus_write_byte_data(client, G762_REG_SET_CNT,\n" "+\t\t\t\t\t\t 254);\n" "+\t\tbreak;\n" @@ -1509,12 +1510,6 @@ "+\n" "+#endif /* __LINUX_PLATFORM_DATA_G762_H__ */\n" "-- \n" - "1.7.10.4\n" - "\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + 1.7.10.4 -e2261c35fedd17d0aacd968eee57f2f714c736c075fa4381424fc2b7e33f929c +3958d5326016bf2897e127674beadc1caf9818979a6273b8125ce0598b4a6e64
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.