<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/w1/slaves, branch linux-6.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-07-19T14:36:25Z</updated>
<entry>
<title>w1: w1_therm: fix locking behavior in convert_t</title>
<updated>2023-07-19T14:36:25Z</updated>
<author>
<name>Stefan Wahren</name>
</author>
<published>2023-04-27T11:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe64b9c6c847f114fd9b4e8b44c9fab619f19384'/>
<id>urn:sha1:fe64b9c6c847f114fd9b4e8b44c9fab619f19384</id>
<content type='text'>
[ Upstream commit dca5480ab7b77a889088ab7cac81934604510ac7 ]

The commit 67b392f7b8ed ("w1_therm: optimizing temperature read timings")
accidentially inverted the logic for lock handling of the bus mutex.

Before:
  pullup -&gt; release lock before sleep
  no pullup -&gt; release lock after sleep

After:
  pullup -&gt; release lock after sleep
  no pullup -&gt; release lock before sleep

This cause spurious measurements of 85 degree (powerup value) on the
Tarragon board with connected 1-w temperature sensor
(w1_therm.w1_strong_pull=0).

In the meantime a new feature for polling the conversion
completion has been integrated in these branches with
commit 021da53e65fd ("w1: w1_therm: Add sysfs entries to control
conversion time and driver features"). But this feature isn't
available for parasite power mode, so handle this separately.

Link: https://lore.kernel.org/regressions/2023042645-attentive-amends-7b0b@gregkh/T/
Fixes: 67b392f7b8ed ("w1_therm: optimizing temperature read timings")
Signed-off-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
Link: https://lore.kernel.org/r/20230427112152.12313-1-stefan.wahren@i2se.com
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>w1: ds2433: do not use assignment in if condition</title>
<updated>2023-04-20T12:15:06Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2023-04-15T10:42:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39bbfdacaebbe2576fb0f591e218e76a117886cf'/>
<id>urn:sha1:39bbfdacaebbe2576fb0f591e218e76a117886cf</id>
<content type='text'>
Assignments in if condition are less readable and error-prone.  Fixes
also checkpatch warning:

  ERROR: do not use assignment in if condition

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20230415104304.104134-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: use octal for file permissions</title>
<updated>2023-04-20T12:15:06Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2023-04-15T10:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=921e0f2fb09d8decfa8f19eae01f0b68e322363e'/>
<id>urn:sha1:921e0f2fb09d8decfa8f19eae01f0b68e322363e</id>
<content type='text'>
Improve code readability and checkpatch warnings:

  WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20230415104304.104134-6-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: minor white-space and code style fixes</title>
<updated>2023-04-20T12:15:06Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2023-04-15T10:42:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad9c36be1f78f2990310cdcf902eba64cd2b2cf3'/>
<id>urn:sha1:ad9c36be1f78f2990310cdcf902eba64cd2b2cf3</id>
<content type='text'>
Correct several coding convention violations around white-spaces:

  ERROR: spaces required around that '=' (ctx:VxV)
  WARNING: Missing a blank line after declarations
  ERROR: "foo* bar" should be "foo *bar"
  ERROR: "(foo*)" should be "(foo *)"
  WARNING: Block comments use * on subsequent lines
  WARNING: Block comments use a trailing */ on a separate line
  WARNING: please, no space before tabs
  WARNING: Missing a blank line after declarations
  ERROR: open brace '{' following struct go on the same line
  ERROR: that open brace { should be on the previous line

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20230415104304.104134-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: ds28e04: correct kerneldoc annotation</title>
<updated>2023-04-20T12:15:06Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2023-04-15T10:42:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2809664ca296ca89c6c8cc52ce728c1088d5af1'/>
<id>urn:sha1:a2809664ca296ca89c6c8cc52ce728c1088d5af1</id>
<content type='text'>
Correct kerneldoc comments (or drop annotation) to fix:

  w1_ds28e04.c:57: warning: This comment starts with '/**', but isn't a kernel-doc comment.
  w1_ds28e04.c:149: warning: This comment starts with '/**', but isn't a kernel-doc comment.

Reviewed-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20230415104304.104134-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: ds2433: correct kerneldoc annotation</title>
<updated>2023-04-20T12:15:06Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2023-04-15T10:42:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a866ce3b4fde3d0fb399cb5a81fd12cc3ff6e5c1'/>
<id>urn:sha1:a866ce3b4fde3d0fb399cb5a81fd12cc3ff6e5c1</id>
<content type='text'>
Correct kerneldoc comments (or drop annotation) to fix:

  w1_ds2433.c:46: warning: This comment starts with '/**', but isn't a kernel-doc comment.
  w1_ds2433.c:141: warning: This comment starts with '/**', but isn't a kernel-doc comment.

Reviewed-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20230415104304.104134-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: ds2408: drop kerneldoc annotation</title>
<updated>2023-04-20T12:15:06Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2023-04-15T10:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45c85d974f60aa519769c1933859e84aa96fa3f1'/>
<id>urn:sha1:45c85d974f60aa519769c1933859e84aa96fa3f1</id>
<content type='text'>
Drop kerneldoc annotation from comment which is not a kerneldoc to fix:

  w1_ds2408.c:210: warning: This comment starts with '/**', but isn't a kernel-doc comment

Reviewed-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Link: https://lore.kernel.org/r/20230415104304.104134-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: w1_therm: Add support for Maxim MAX31850 thermoelement IF.</title>
<updated>2022-03-18T13:07:09Z</updated>
<author>
<name>Markus Reichl</name>
</author>
<published>2022-03-06T14:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e07a33f97d618afda456610e2633256bb2e8f04'/>
<id>urn:sha1:6e07a33f97d618afda456610e2633256bb2e8f04</id>
<content type='text'>
MAX31850 shares family number 0x3B with DS1825. The device is generally
compatible with DS1825 but needs a different temperature readout.
It operates always in 14 bit mode and has all 4 higher bits of the
Config register set to 1. Conversion time is 100ms.

Signed-off-by: Markus Reichl &lt;m.reichl@fivetechno.de&gt;
Link: https://lore.kernel.org/r/20220306145817.8753-1-m.reichl@fivetechno.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: w1_therm: fixes w1_seq for ds28ea00 sensors</title>
<updated>2022-02-25T10:54:38Z</updated>
<author>
<name>Lucas Denefle</name>
</author>
<published>2022-02-23T11:35:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41a92a89eee819298f805c40187ad8b02bb53426'/>
<id>urn:sha1:41a92a89eee819298f805c40187ad8b02bb53426</id>
<content type='text'>
w1_seq was failing due to several devices responding to the
CHAIN_DONE at the same time. Now properly selects the current
device in the chain with MATCH_ROM. Also acknowledgment was
read twice.

Signed-off-by: Lucas Denefle &lt;lucas.denefle@converge.io&gt;
Link: https://lore.kernel.org/r/20220223113558.232750-1-lucas.denefle@converge.io
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: w1_therm: use swap() to make code cleaner</title>
<updated>2021-12-21T09:38:13Z</updated>
<author>
<name>Yang Guang</name>
</author>
<published>2021-12-21T09:15:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e233897b1f7a859092bd20b10bfd412013381a10'/>
<id>urn:sha1:e233897b1f7a859092bd20b10bfd412013381a10</id>
<content type='text'>
Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
opencoding it.

Reported-by: Zeal Robot &lt;zealci@zte.com.cn&gt;
Signed-off-by: David Yang &lt;davidcomponentone@gmail.com&gt;
Signed-off-by: Yang Guang &lt;yang.guang5@zte.com.cn&gt;
Link: https://lore.kernel.org/r/cb14f9e6e86cf8494ed2ddce6eec8ebd988908d9.1640077704.git.yang.guang5@zte.com.cn
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
