<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/extcon, branch v5.10</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.10</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.10'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-09-29T15:40:06Z</updated>
<entry>
<title>extcon: axp288: Use module_platform_driver to simplify the code</title>
<updated>2020-09-29T15:40:06Z</updated>
<author>
<name>Liu Shixin</name>
<email>liushixin2@huawei.com</email>
</author>
<published>2020-09-14T06:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dbc888072a976c2a7f74ad2df1ca3e6894f96002'/>
<id>urn:sha1:dbc888072a976c2a7f74ad2df1ca3e6894f96002</id>
<content type='text'>
module_platform_driver() makes the code simpler by eliminating
boilerplate code.

Signed-off-by: Liu Shixin &lt;liushixin2@huawei.com&gt;
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: ptn5150: Do not print error during probe if nothing is attached</title>
<updated>2020-09-29T15:38:54Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2020-09-09T15:01:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6be65ed4f86aa7c4ba5c0193202d563f098e783f'/>
<id>urn:sha1:6be65ed4f86aa7c4ba5c0193202d563f098e783f</id>
<content type='text'>
The commit 85256f611f66 ("extcon: ptn5150: Check current USB mode when
probing") reused code for checking CC status register in the probe path
to determine what is initially connected.  However if nothing is
connected, the CC status register will have 0x0 value and print an error
message:

    ptn5150 1-003d: Unknown Port status : 0

This is not an error.  Also any other unknown port status values are not
really errors but unhandled cases.

Fixes: 85256f611f66 ("extcon: ptn5150: Check current USB mode when probing")
Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: ptn5150: Use defines for registers</title>
<updated>2020-09-24T10:20:49Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2020-09-09T15:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b9a32f624f7f1f0dc408fb7e62fbf10a8fe3ad9a'/>
<id>urn:sha1:b9a32f624f7f1f0dc408fb7e62fbf10a8fe3ad9a</id>
<content type='text'>
The register addresses are not continuous, so use simple defines for
them.  This also makes it easier to find the address for register.

No functional change.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: palmas: Simplify with dev_err_probe()</title>
<updated>2020-09-24T10:20:49Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2020-08-28T15:13:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d0f668101713bd029e7d19a4fe9ddab9a33c8f85'/>
<id>urn:sha1:d0f668101713bd029e7d19a4fe9ddab9a33c8f85</id>
<content type='text'>
Common pattern of handling deferred probe can be simplified with
dev_err_probe().  Less code and the error value gets printed.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: max8997: Return error code of extcon_dev_allocate()</title>
<updated>2020-09-24T10:20:49Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2020-08-29T12:43:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ce90c3c9b3ab2e25530a9bb313f3c51718d5d96b'/>
<id>urn:sha1:ce90c3c9b3ab2e25530a9bb313f3c51718d5d96b</id>
<content type='text'>
devm_extcon_dev_allocate() can fail of multiple reasons.  The call
returns proper error code on failure so pass it instead of fixed ENOMEM.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: max77843: Return error code of extcon_dev_allocate()</title>
<updated>2020-09-24T10:20:49Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2020-08-29T12:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a4cf11faf86243bab418f406cc8ebf16bd91bcf2'/>
<id>urn:sha1:a4cf11faf86243bab418f406cc8ebf16bd91bcf2</id>
<content type='text'>
devm_extcon_dev_allocate() can fail of multiple reasons.  The call
returns proper error code on failure so pass it instead of fixed ENOMEM.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: max77693: Return error code of extcon_dev_allocate()</title>
<updated>2020-09-24T10:20:49Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2020-08-29T12:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1f339f3384e85b3610482d4af7e500227311c5f2'/>
<id>urn:sha1:1f339f3384e85b3610482d4af7e500227311c5f2</id>
<content type='text'>
devm_extcon_dev_allocate() can fail of multiple reasons.  The call
returns proper error code on failure so pass it instead of fixed ENOMEM.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: max14577: Return error code of extcon_dev_allocate()</title>
<updated>2020-09-24T10:20:49Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2020-08-29T12:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4e984d83f444901e0187fdb228ce912e2fb7c6ff'/>
<id>urn:sha1:4e984d83f444901e0187fdb228ce912e2fb7c6ff</id>
<content type='text'>
devm_extcon_dev_allocate() can fail of multiple reasons.  The call
returns proper error code on failure so pass it instead of fixed ENOMEM.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: ptn5150: Set the VBUS and POLARITY property capability</title>
<updated>2020-09-24T10:20:49Z</updated>
<author>
<name>Ramuthevar Vadivel Murugan</name>
<email>vadivel.muruganx.ramuthevar@linux.intel.com</email>
</author>
<published>2020-08-27T06:51:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ea6a95d09c1bd28113be8e90fb87c45807b1e674'/>
<id>urn:sha1:ea6a95d09c1bd28113be8e90fb87c45807b1e674</id>
<content type='text'>
Set the capability value of property for VBUS and POLARITY.

Signed-off-by: Ramuthevar Vadivel Murugan &lt;vadivel.muruganx.ramuthevar@linux.intel.com&gt;
[cw00.choi: Replace the space with tab for the indentation]
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: ptn5150: Switch to GENMASK() and BIT() macros</title>
<updated>2020-09-24T10:20:48Z</updated>
<author>
<name>Ramuthevar Vadivel Murugan</name>
<email>vadivel.muruganx.ramuthevar@linux.intel.com</email>
</author>
<published>2020-08-27T03:56:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7e3b1caffcfd8c260b570f21a8dc5abb5b00672c'/>
<id>urn:sha1:7e3b1caffcfd8c260b570f21a8dc5abb5b00672c</id>
<content type='text'>
Switch to GENMASK() and BIT() macros.

Signed-off-by: Ramuthevar Vadivel Murugan &lt;vadivel.muruganx.ramuthevar@linux.intel.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
</feed>
