<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-08-17T19:35:24Z</updated>
<entry>
<title>hwmon: (w83627ehf) Properly report thermal diode sensors</title>
<updated>2012-08-17T19:35:24Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-10-13T19:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db9ef6e22cbfff5726fccdf509ae9581aa069a0b'/>
<id>urn:sha1:db9ef6e22cbfff5726fccdf509ae9581aa069a0b</id>
<content type='text'>
commit bf164c58e58328c40ebc597a8ac00cc6840f9703 upstream.

The w83627ehf driver is improperly reporting thermal diode sensors as
type 2, instead of 3. This caused "sensors" and possibly other
monitoring tools to report these sensors as "transistor" instead of
"thermal diode".

Furthermore, diode subtype selection (CPU vs. external) is only
supported by the original W83627EHF/EHG. All later models only support
CPU diode type, and some (NCT6776F) don't even have the register in
question so we should avoid reading from it.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (ibmaem) add missing kfree</title>
<updated>2012-05-17T15:21:31Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2011-08-09T15:10:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c22f94701e1e10a253e9e9b5f14e6d397dce9f53'/>
<id>urn:sha1:c22f94701e1e10a253e9e9b5f14e6d397dce9f53</id>
<content type='text'>
commit 66a89b2164e2d30661edbd1953eacf0594d8203a upstream.

rs_resp is dynamically allocated in aem_read_sensor(), so it should be freed
before exiting in every case.  This collects the kfree and the return at
the end of the function.

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (max1111) Fix race condition causing NULL pointer exception</title>
<updated>2012-05-17T15:21:11Z</updated>
<author>
<name>Pavel Herrmann</name>
</author>
<published>2011-07-17T16:39:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd4eb5ed110c04d95e6f57dee0f6ebabfd4e20b0'/>
<id>urn:sha1:fd4eb5ed110c04d95e6f57dee0f6ebabfd4e20b0</id>
<content type='text'>
commit d3f684f2820a7f42acef68bea6622d9032127fb2 upstream.

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;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (applesmc) Add MacBookAir3,1(3,2) support</title>
<updated>2012-03-14T14:57:39Z</updated>
<author>
<name>Edgar Hucek</name>
</author>
<published>2010-11-09T15:15:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=952f7cc65e97c69f362607f3118e5d503c617955'/>
<id>urn:sha1:952f7cc65e97c69f362607f3118e5d503c617955</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: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (applesmc) Add generic support for MacBook Pro 7</title>
<updated>2012-03-14T14:57:39Z</updated>
<author>
<name>Henrik Rydberg</name>
</author>
<published>2010-05-27T17:58:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c03fb31e5d3320232475f8bc22ff5f127ddaa08'/>
<id>urn:sha1:7c03fb31e5d3320232475f8bc22ff5f127ddaa08</id>
<content type='text'>
commit 405eaa1c1d045cdd872802fc515f638573984880 upstream.

This patch adds generic support for the MacBook Pro 7 family
based on the 7,1 model.

Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (applesmc) Add generic support for MacBook Pro 6</title>
<updated>2012-03-14T14:57:38Z</updated>
<author>
<name>Bernhard Froemel</name>
</author>
<published>2010-05-27T17:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1bc4482fbb6edd13d419cdf7bc6c9a53dba53adf'/>
<id>urn:sha1:1bc4482fbb6edd13d419cdf7bc6c9a53dba53adf</id>
<content type='text'>
commit 872bad55e2d3fcc13e1e8770a3b200f0c6ca5126 upstream.

This patch adds generic support for the MacBook Pro 6 family
based on the 6,2 model.

[rydberg@euromail.se: patch cleanup]
Signed-off-by: Bernhard Froemel &lt;froemel@vmars.tuwien.ac.at&gt;
Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (applesmc) Add support for MacBook Pro 5,3 and 5,4</title>
<updated>2012-03-14T14:57:38Z</updated>
<author>
<name>Henrik Rydberg</name>
</author>
<published>2010-05-27T17:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cfea5d01485b1b8356fbaa116aa4dbdb5af1df1e'/>
<id>urn:sha1:cfea5d01485b1b8356fbaa116aa4dbdb5af1df1e</id>
<content type='text'>
commit 4e4a99d32721800c061191027f18f780dcbd9e0b upstream.

The MacBookPro 5,3 model has two fans, whereas the 5,4 model has
only one. This patch adds explicit support for the 5,3 and 5,4 models.

Signed-off-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (sht15) Fix integer overflow in humidity calculation</title>
<updated>2011-06-26T16:47:11Z</updated>
<author>
<name>Vivien Didelot</name>
</author>
<published>2011-03-21T16:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6362caf82ffba0b81e26a292135dcaf1abf6f8c6'/>
<id>urn:sha1:6362caf82ffba0b81e26a292135dcaf1abf6f8c6</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;
Cc: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>hwmon/f71882fg: Set platform drvdata to NULL later</title>
<updated>2011-06-26T16:47:00Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2011-03-13T12:50:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9afcf1660fe705de7b60629639ec204852555f7'/>
<id>urn:sha1:e9afcf1660fe705de7b60629639ec204852555f7</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: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (via686a) Initialize fan_div values</title>
<updated>2011-06-26T16:46:16Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-01-12T20:55:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ca65c780ce19571d5efaa0ae918dc881da9b634'/>
<id>urn:sha1:3ca65c780ce19571d5efaa0ae918dc881da9b634</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: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
</feed>
