<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon/it87.c, branch linux-4.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-05-14T12:08:19Z</updated>
<entry>
<title>hwmon: (it87) Fix pwm4 detection for IT8620 and IT8628</title>
<updated>2017-05-14T12:08:19Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2017-02-08T22:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2586f8f02455a9d8316658fd80cc96ade7048af9'/>
<id>urn:sha1:2586f8f02455a9d8316658fd80cc96ade7048af9</id>
<content type='text'>
commit d66777caa57ffade6061782f3a4d4056f0b0c1ac upstream.

pwm4 is enabled if bit 2 of GPIO control register 4 is disabled,
not when it is enabled. Since the check is for the skip condition,
it is reversed. This applies to both IT8620 and IT8628.

Fixes: 36c4d98a7883d ("hwmon: (it87) Add support for all pwm channels ...")
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>hwmon: (it87) Avoid registering the same chip on both SIO addresses</title>
<updated>2017-05-08T05:49:43Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2017-03-12T13:18:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8dee04de5defe97c38aa07590b533c6b487df75e'/>
<id>urn:sha1:8dee04de5defe97c38aa07590b533c6b487df75e</id>
<content type='text'>
commit 8358378b22518d92424597503d3c1cd302a490b6 upstream.

IT8705F is known to respond on both SIO addresses. Registering it twice
may result in system lockups.

Reported-by: Russell King &lt;linux@armlinux.org.uk&gt;
Fixes: e84bd9535e2b ("hwmon: (it87) Add support for second Super-IO chip")
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Cc: Jean Delvare &lt;jdelvare@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>hwmon: (it87) Ensure that pwm control cache is current before updating values</title>
<updated>2017-03-12T05:44:08Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2017-02-08T22:02:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75225bc818b06b2a354540c0db01d42c2560443b'/>
<id>urn:sha1:75225bc818b06b2a354540c0db01d42c2560443b</id>
<content type='text'>
commit 82dbe987b70042b340f851bdc969a971081e5f02 upstream.

If sensor attributes were never read, the pwm control data has not been
initiialized, which can cause wrong driver behavior. Ensure that cached
data is current before acting on it.

Reported-by: Kevin Folz &lt;kfolz@evertz.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>hwmon: (it87) Do not overwrite bit 2..6 of pwm control registers</title>
<updated>2017-03-12T05:44:08Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2017-02-08T22:07:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b43f4161a5fa85347bb4898b5559841b4addc4b'/>
<id>urn:sha1:3b43f4161a5fa85347bb4898b5559841b4addc4b</id>
<content type='text'>
commit 4c7b8ca1ae5ed9e27014732c8a918ba11a86cf09 upstream.

In IT8620E, after setting pwm control to manual, it was observed that
pwm values for fan 4..6 have reversed results (writing 0 results in fans
running at full speed, writing 255 results in fans turned off).

With the new PWM control, pwm polarity for pwm control 4..6 is specified
in its pwm control registers. Those registers are overwritten when setting
the pwm mode or the temperature mapping. Do not touch bit 2..6 of pwm
control registers on register writes to fix the problem.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>hwmon: (it87) Drop useless comments</title>
<updated>2016-09-09T04:34:17Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2016-08-29T11:33:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5f3f6c8123388a6f978f2593cfe0e8ba8c30801'/>
<id>urn:sha1:d5f3f6c8123388a6f978f2593cfe0e8ba8c30801</id>
<content type='text'>
Remove the index comments at the end of it87_attributes_in. They
serve no purpose (as there is no reference to them in
it87_in_is_visible) and some of them were obviously wrong.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Cc: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (it87) Add missing sysfs attribute group terminator</title>
<updated>2016-08-29T12:31:31Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2016-08-29T11:18:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c3292634fc2de1ab97b6aa3222fee647f737adb'/>
<id>urn:sha1:3c3292634fc2de1ab97b6aa3222fee647f737adb</id>
<content type='text'>
Attribute array it87_attributes_in lacks its NULL terminator,
causing random behavior when operating on the attribute group.

Fixes: 52929715634a ("hwmon: (it87) Use is_visible for voltage sensors")
Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Cc: Guenter Roeck &lt;linux@roeck-us.net&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (it87) Features mask must be 32 bit wide</title>
<updated>2016-08-12T01:35:47Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2016-08-10T05:09:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa8b187eeab5e6757e959b81889ddbfda7d02ad1'/>
<id>urn:sha1:aa8b187eeab5e6757e959b81889ddbfda7d02ad1</id>
<content type='text'>
Coverity reports:

result_independent_of_operands: data-&gt;features &amp; (65536UL /* 1UL &lt;&lt; 16 */)
is always 0 regardless of the values of its operands. This occurs as the
logical operand of if.

data-&gt;features needs to be 32 bit wide since there are more than 16 features.

Fixes: cc18da79d9b7 ("hwmon: (it87) Support up to 6 temperature sensors ... ");
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (it87) Add support for IT8628E</title>
<updated>2016-04-19T13:32:38Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2016-01-18T08:35:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71a9c23246fe68954f87787a4e6c1aa22565c326'/>
<id>urn:sha1:71a9c23246fe68954f87787a4e6c1aa22565c326</id>
<content type='text'>
IT8628E is functionally identical to IT8620E.

Tested-by: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (it87) Fix pwm_temp_map for system with 6 pwm channels</title>
<updated>2016-04-19T13:32:37Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2015-04-07T04:04:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0624d861983c2cb1884ea3bafc1c534c7d2348b8'/>
<id>urn:sha1:0624d861983c2cb1884ea3bafc1c534c7d2348b8</id>
<content type='text'>
Tested-by: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (it87) Support automatic pwm control on newer chips</title>
<updated>2016-04-19T13:32:37Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2015-04-05T18:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2cbb9c370fe32b5de5243f7338dc6ce8747d495b'/>
<id>urn:sha1:2cbb9c370fe32b5de5243f7338dc6ce8747d495b</id>
<content type='text'>
Tested-by: Martin Blumenstingl &lt;martin.blumenstingl@googlemail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
