<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/hwmon, branch v3.3-rc5</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>hwmon: (max34440) Fix resetting temperature history</title>
<updated>2012-02-24T16:06:15+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2012-02-24T11:44:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=dc91ad8e84593eb49c65cca70537088782b21e08'/>
<id>dc91ad8e84593eb49c65cca70537088782b21e08</id>
<content type='text'>
Temperature history is reset by writing 0x8000 into the peak temperature
register, not 0xffff.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Temperature history is reset by writing 0x8000 into the peak temperature
register, not 0xffff.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hwmon: (f75375s) Fix register write order when setting fans to full speed</title>
<updated>2012-02-23T14:47:47+00:00</updated>
<author>
<name>Nikolaus Schulz</name>
<email>schulz@macnetix.de</email>
</author>
<published>2012-02-22T22:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c1c1a3d012fe5e82a9a025fb4b5a4f8ee67a53f6'/>
<id>c1c1a3d012fe5e82a9a025fb4b5a4f8ee67a53f6</id>
<content type='text'>
By hwmon sysfs interface convention, setting pwm_enable to zero sets a fan
to full speed.  In the f75375s driver, this need be done by enabling
manual fan control, plus duty mode for the F875387 chip, and then setting
the maximum duty cycle.  Fix a bug where the two necessary register writes
were swapped, effectively discarding the setting to full-speed.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Cc: Riku Voipio &lt;riku.voipio@iki.fi&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By hwmon sysfs interface convention, setting pwm_enable to zero sets a fan
to full speed.  In the f75375s driver, this need be done by enabling
manual fan control, plus duty mode for the F875387 chip, and then setting
the maximum duty cycle.  Fix a bug where the two necessary register writes
were swapped, effectively discarding the setting to full-speed.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Cc: Riku Voipio &lt;riku.voipio@iki.fi&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Fix file leak in probe function</title>
<updated>2012-02-23T14:47:41+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>guenter.roeck@ericsson.com</email>
</author>
<published>2012-02-22T16:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=363434b5dc352464ac7601547891e5fc9105f124'/>
<id>363434b5dc352464ac7601547891e5fc9105f124</id>
<content type='text'>
An error while creating sysfs attribute files in the driver's probe function
results in an error abort, but already created files are not removed. This patch
fixes the problem.

Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: stable@vger.kernel.org # 3.0+
Cc: Dirk Eibach &lt;eibach@gdsys.de&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An error while creating sysfs attribute files in the driver's probe function
results in an error abort, but already created files are not removed. This patch
fixes the problem.

Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: stable@vger.kernel.org # 3.0+
Cc: Dirk Eibach &lt;eibach@gdsys.de&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hwmon: (max6639) Fix PPR register initialization to set both channels</title>
<updated>2012-02-21T22:30:45+00:00</updated>
<author>
<name>Chris D Schimp</name>
<email>silverchris@gmail.com</email>
</author>
<published>2012-02-20T22:44:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2f2da1ac0ba5b6cc6e1957c4da5ff20e67d8442b'/>
<id>2f2da1ac0ba5b6cc6e1957c4da5ff20e67d8442b</id>
<content type='text'>
Initialize PPR register for both channels, and set correct PPR register bits.
Also remove unnecessary variable initializations.

Signed-off-by: Chris D Schimp &lt;silverchris@gmail.com&gt;
[guenter.roeck@ericsson.com: Merged two patches into one]
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: stable@vger.kernel.org # 3.0+
Acked-by: Roland Stigge &lt;stigge@antcom.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initialize PPR register for both channels, and set correct PPR register bits.
Also remove unnecessary variable initializations.

Signed-off-by: Chris D Schimp &lt;silverchris@gmail.com&gt;
[guenter.roeck@ericsson.com: Merged two patches into one]
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: stable@vger.kernel.org # 3.0+
Acked-by: Roland Stigge &lt;stigge@antcom.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hwmon: (max6639) Fix FAN_FROM_REG calculation</title>
<updated>2012-02-21T22:30:12+00:00</updated>
<author>
<name>Chris D Schimp</name>
<email>silverchris@gmail.com</email>
</author>
<published>2012-02-20T21:59:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b63d97a36edb1aecf8c13e5f5783feff4d64c24b'/>
<id>b63d97a36edb1aecf8c13e5f5783feff4d64c24b</id>
<content type='text'>
RPM calculation from tachometer value does not depend on PPR.
Also, do not report negative RPM values.

Signed-off-by: Chris D Schimp &lt;silverchris@gmail.com&gt;
[guenter.roeck@ericsson.com: do not report negative RPM values]
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: stable@vger.kernel.org # 3.0+
Acked-by: Roland Stigge &lt;stigge@antcom.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RPM calculation from tachometer value does not depend on PPR.
Also, do not report negative RPM values.

Signed-off-by: Chris D Schimp &lt;silverchris@gmail.com&gt;
[guenter.roeck@ericsson.com: do not report negative RPM values]
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: stable@vger.kernel.org # 3.0+
Acked-by: Roland Stigge &lt;stigge@antcom.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hwmon: (f75375s) Let f75375_update_device treat pwmX as a measured value</title>
<updated>2012-02-09T19:21:49+00:00</updated>
<author>
<name>Nikolaus Schulz</name>
<email>schulz@macnetix.de</email>
</author>
<published>2012-02-08T17:56:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a1c1baf00e5c08dda9c0ee25658bf0ce301102ae'/>
<id>a1c1baf00e5c08dda9c0ee25658bf0ce301102ae</id>
<content type='text'>
Treat pwmX as a measured value, not as a (mostly static) limit value, so
that it is updated more frequently from the device register.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Treat pwmX as a measured value, not as a (mostly static) limit value, so
that it is updated more frequently from the device register.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hwmon: (f75375s) Fix bit shifting in f75375_write16</title>
<updated>2012-02-09T04:47:34+00:00</updated>
<author>
<name>Nikolaus Schulz</name>
<email>schulz@macnetix.de</email>
</author>
<published>2012-02-08T17:56:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=eb2f255b2d360df3f500042a2258dcf2fcbe89a2'/>
<id>eb2f255b2d360df3f500042a2258dcf2fcbe89a2</id>
<content type='text'>
In order to extract the high byte of the 16-bit word, shift the word to
the right, not to the left.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Cc: stable@kernel.org # 2.6.32+
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to extract the high byte of the 16-bit word, shift the word to
the right, not to the left.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Cc: stable@kernel.org # 2.6.32+
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hwmon: (f75375s) Fix reading of wrong register when initializing the F75387</title>
<updated>2012-02-09T04:47:33+00:00</updated>
<author>
<name>Nikolaus Schulz</name>
<email>schulz@macnetix.de</email>
</author>
<published>2012-02-08T17:56:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a367a1e08b21e995c7112ff32b5efc97d104d405'/>
<id>a367a1e08b21e995c7112ff32b5efc97d104d405</id>
<content type='text'>
Unlike the other chips supported by this driver, the F75387 stores the
pwm_mode in register F75375_REG_FAN_TIMER, not F75375_REG_CONFIG1.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unlike the other chips supported by this driver, the F75387 stores the
pwm_mode in register F75375_REG_FAN_TIMER, not F75375_REG_CONFIG1.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hwmon: (f75375s) Fix automatic pwm mode setting for F75373 &amp; F75375</title>
<updated>2012-02-09T04:47:33+00:00</updated>
<author>
<name>Nikolaus Schulz</name>
<email>schulz@macnetix.de</email>
</author>
<published>2012-02-08T17:56:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=09e87e5c4f9af656af2a8a3afc03487c5d9287c3'/>
<id>09e87e5c4f9af656af2a8a3afc03487c5d9287c3</id>
<content type='text'>
In order to enable temperature mode aka automatic mode for the F75373 and
F75375 chips, the two FANx_MODE bits in the fan configuration register
need be set to 01, not 10.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Cc: stable@kernel.org # 2.6.32+
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to enable temperature mode aka automatic mode for the F75373 and
F75375 chips, the two FANx_MODE bits in the fan configuration register
need be set to 01, not 10.

Signed-off-by: Nikolaus Schulz &lt;mail@microschulz.de&gt;
Cc: stable@kernel.org # 2.6.32+
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hwmon: (w83627ehf) Remove duplicate code</title>
<updated>2012-02-09T04:47:32+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>guenter.roeck@ericsson.com</email>
</author>
<published>2012-02-07T09:46:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=eb564e1dbc3685c08a52a0eea3821815fac50511'/>
<id>eb564e1dbc3685c08a52a0eea3821815fac50511</id>
<content type='text'>
Commit ec3e5a16446fef1891611fe3bdfa5954d1ddf5e4 slipped in some duplicate code.
Remove it.

Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit ec3e5a16446fef1891611fe3bdfa5954d1ddf5e4 slipped in some duplicate code.
Remove it.

Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
