<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/hwmon, branch linux-2.6.35.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2011-08-01T20:55:01+00:00</updated>
<entry>
<title>hwmon: (asus_atk0110) Fix memory leak</title>
<updated>2011-08-01T20:55:01+00:00</updated>
<author>
<name>Luca Tettamanti</name>
<email>kronos.it@gmail.com</email>
</author>
<published>2011-07-17T16:39:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9c1f7a93bff756565bcb4e1b992541cb776f24d2'/>
<id>urn:sha1:9c1f7a93bff756565bcb4e1b992541cb776f24d2</id>
<content type='text'>
[ upstream commit 0b8e77f12cb6bfe2e5a67f2cdc8c7af23abc4ccf ]

The object returned by atk_gitm is dynamically allocated and must be
freed.

Signed-off-by: Luca Tettamanti &lt;kronos.it@gmail.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: stable@kernel.org
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>hwmon: (max1111) Fix race condition causing NULL pointer</title>
<updated>2011-08-01T20:55:01+00:00</updated>
<author>
<name>Pavel Herrmann</name>
<email>morpheus.ibis@gmail.com</email>
</author>
<published>2011-07-17T16:39:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=57090d5ee1e6ecfd74ecdc376d1246ff53aabd03'/>
<id>urn:sha1:57090d5ee1e6ecfd74ecdc376d1246ff53aabd03</id>
<content type='text'>
[ upstream commit d3f684f2820a7f42acef68bea6622d9032127fb2 ]
 exception

spi_sync call uses its spi_message parameter to keep completion information,
using a drvdata structure is not thread-safe. Use a mutex to prevent
multiple access to shared driver data.

Signed-off-by: Pavel Herrmann &lt;morpheus.ibis@gmail.com&gt;
Acked-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Acked-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Acked-by: Cyril Hrubis &lt;metan@ucw.cz&gt;
Tested-by: Stanislav Brabec &lt;utx@penguin.cz&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: stable@kernel.org
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>hwmon: (applesmc) Add MacBookAir3,1(3,2) support</title>
<updated>2011-08-01T20:54:45+00:00</updated>
<author>
<name>Edgar Hucek</name>
<email>gimli@dark-green.com</email>
</author>
<published>2010-11-09T15:15:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=16d34d5899c57d0f1a1916cdde3a017d497c57db'/>
<id>urn:sha1:16d34d5899c57d0f1a1916cdde3a017d497c57db</id>
<content type='text'>
commit 132af03233b493101a53010383b5abb5b9ff1e51 upstream.

This patch add support for the MacBookAir3,1 and MacBookAir3,2 to the
applesmc driver.

[rydberg@euromail.se: minor cleanup]
Signed-off-by: Edgar Hucek &lt;gimli@dark-green.com&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>hwmon: (w83627ehf) Driver cleanup</title>
<updated>2011-03-31T18:58:54+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>guenter.roeck@ericsson.com</email>
</author>
<published>2010-08-14T19:08:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b6c33e339d01d1132887d822555697b0b4bbded9'/>
<id>urn:sha1:b6c33e339d01d1132887d822555697b0b4bbded9</id>
<content type='text'>
[ upstream commit da2e025590cf7038440132d4bbc967a579b11112 ]

- Moved fan pwm register array pointers into per-instance data.
- Only read fan pwm data for installed/supported fans.
- Update fan max output and fan step output information from data in
  registers.
- Create max_output and step_output attribute files only if respective
  fan pwm registers exist.

Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>hwmon: (sht15) Fix integer overflow in humidity calculation</title>
<updated>2011-03-31T18:58:43+00:00</updated>
<author>
<name>Vivien Didelot</name>
<email>vivien.didelot@savoirfairelinux.com</email>
</author>
<published>2011-03-21T16:59:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4d5afe547f5edb659a7813d8190842da14618808'/>
<id>urn:sha1:4d5afe547f5edb659a7813d8190842da14618808</id>
<content type='text'>
commit ccd32e735de7a941906e093f8dca924bb05c5794 upstream.

An integer overflow occurs in the calculation of RHlinear when the
relative humidity is greater than around 30%. The consequence is a subtle
(but noticeable) error in the resulting humidity measurement.

Signed-off-by: Vivien Didelot &lt;vivien.didelot@savoirfairelinux.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Cc: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>hwmon/f71882fg: Set platform drvdata to NULL later</title>
<updated>2011-03-31T18:58:35+00:00</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2011-03-13T12:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c4fb5a6409c69eeaab515d2f96ed3ba27fee10d8'/>
<id>urn:sha1:c4fb5a6409c69eeaab515d2f96ed3ba27fee10d8</id>
<content type='text'>
commit d9ebaa45472c92704f4814682eec21455edcfa1f upstream.

This avoids a possible race leading to trying to dereference NULL.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>hwmon: (via686a) Initialize fan_div values</title>
<updated>2011-03-31T18:57:38+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2011-01-12T20:55:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f1ae3bdce55f3f01f0509ffd88eba64b2294bcf0'/>
<id>urn:sha1:f1ae3bdce55f3f01f0509ffd88eba64b2294bcf0</id>
<content type='text'>
commit f790674d3f87df6390828ac21a7d1530f71b59c8 upstream.

Functions set_fan_min() and set_fan_div() assume that the fan_div
values have already been read from the register. The driver currently
doesn't initialize them at load time, they are only set when function
via686a_update_device() is called. This means that set_fan_min() and
set_fan_div() misbehave if, for example, "sensors -s" is called
before any monitoring application (e.g. "sensors") is has been run.

Fix the problem by always initializing the fan_div values at device
bind time.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>hwmon: (adm1026) Fix setting fan_div</title>
<updated>2011-02-06T19:03:27+00:00</updated>
<author>
<name>Gabriele Gorla</name>
<email>gorlik@penguintown.net</email>
</author>
<published>2010-12-08T15:27:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=61ae3863b6d326bf6b24cb24ceb59025dbdf4d52'/>
<id>urn:sha1:61ae3863b6d326bf6b24cb24ceb59025dbdf4d52</id>
<content type='text'>
commit 52bc9802ce849d0d287cc5fe76d06b0daa3986ca upstream.

Prevent setting fan_div from stomping on other fans that share the
same I2C register.

Signed-off-by: Gabriele Gorla &lt;gorlik@penguintown.net&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>hwmon: (adm1026) Allow 1 as a valid divider value</title>
<updated>2011-02-06T19:03:27+00:00</updated>
<author>
<name>Gabriele Gorla</name>
<email>gorlik@penguintown.net</email>
</author>
<published>2010-12-08T15:27:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=998bd06665b1c8e1abb8c99c96f6db4103b793e4'/>
<id>urn:sha1:998bd06665b1c8e1abb8c99c96f6db4103b793e4</id>
<content type='text'>
commit 8b0f1840a46449e1946fc88860ef3ec8d6b1c2c7 upstream.

Allow 1 as a valid div value as specified in the ADM1026 datasheet.

Signed-off-by: Gabriele Gorla &lt;gorlik@penguintown.net&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>hwmon: (lm85) Fix ADT7468 frequency table</title>
<updated>2010-12-14T22:40:06+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-10-28T18:31:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ec76a70ac2f733b36f71866935071b0ba1ff95de'/>
<id>urn:sha1:ec76a70ac2f733b36f71866935071b0ba1ff95de</id>
<content type='text'>
commit fa7a5797e57d2ed71f9a6fb44f0ae42c2d7b74b7 upstream.

The ADT7468 uses the same frequency table as the ADT7463.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Darrick J. Wong &lt;djwong@us.ibm.com&gt;
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
</feed>
