<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/next/linux-next.git/drivers/i2c, branch akpm</title>
<subtitle>The linux-next integration testing tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=akpm</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=akpm'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/'/>
<updated>2022-06-28T00:38:45+00:00</updated>
<entry>
<title>Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git</title>
<updated>2022-06-28T00:38:45+00:00</updated>
<author>
<name>Stephen Rothwell</name>
<email>sfr@canb.auug.org.au</email>
</author>
<published>2022-06-28T00:38:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=406a0eaa67008458459935b4081a090962a78337'/>
<id>urn:sha1:406a0eaa67008458459935b4081a090962a78337</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'spdx-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx.git</title>
<updated>2022-06-27T22:56:31+00:00</updated>
<author>
<name>Stephen Rothwell</name>
<email>sfr@canb.auug.org.au</email>
</author>
<published>2022-06-27T22:56:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a15a8e7f4e9d849531b250ea1978b42b231d46e9'/>
<id>urn:sha1:a15a8e7f4e9d849531b250ea1978b42b231d46e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'i2c/for-mergewindow' into i2c/for-next</title>
<updated>2022-06-16T21:12:47+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@kernel.org</email>
</author>
<published>2022-06-16T21:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=bc1801ec0931f600f268ffacf60825b014b32d2f'/>
<id>urn:sha1:bc1801ec0931f600f268ffacf60825b014b32d2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>i2c: Fix a potential use after free</title>
<updated>2022-06-16T19:39:40+00:00</updated>
<author>
<name>Xu Wang</name>
<email>vulab@iscas.ac.cn</email>
</author>
<published>2019-12-27T09:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e4c72c06c367758a14f227c847f9d623f1994ecf'/>
<id>urn:sha1:e4c72c06c367758a14f227c847f9d623f1994ecf</id>
<content type='text'>
Free the adap structure only after we are done using it.
This patch just moves the put_device() down a bit to avoid the
use after free.

Fixes: 611e12ea0f12 ("i2c: core: manage i2c bus device refcount in i2c_[get|put]_adapter")
Signed-off-by: Xu Wang &lt;vulab@iscas.ac.cn&gt;
[wsa: added comment to the code, added Fixes tag]
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: hisi: use HZ_PER_KHZ macro in units.h</title>
<updated>2022-06-15T20:40:13+00:00</updated>
<author>
<name>Yicong Yang</name>
<email>yangyicong@hisilicon.com</email>
</author>
<published>2022-06-10T07:51:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4dc1372ffb82c5f08ada7b9cb75a04dcfe49cd96'/>
<id>urn:sha1:4dc1372ffb82c5f08ada7b9cb75a04dcfe49cd96</id>
<content type='text'>
HZ macros has been centralized in units.h since [1]. Use it to avoid
duplicated definition.

[1] commit e2c77032fcbe ("units: add the HZ macros")

Signed-off-by: Yicong Yang &lt;yangyicong@hisilicon.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: qcom-cci: add msm8974 compatible</title>
<updated>2022-06-15T19:55:21+00:00</updated>
<author>
<name>Matti Lehtimäki</name>
<email>matti.lehtimaki@gmail.com</email>
</author>
<published>2022-05-22T16:27:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4c0ad47b8da5898115fc17c5bb0e538348531a39'/>
<id>urn:sha1:4c0ad47b8da5898115fc17c5bb0e538348531a39</id>
<content type='text'>
MSM8974 CCI is the same as MSM8916 except it has two masters.

Signed-off-by: Matti Lehtimäki &lt;matti.lehtimaki@gmail.com&gt;
Signed-off-by: Luca Weiss &lt;luca@z3ntu.xyz&gt;
Reviewed-by: Loic Poulain &lt;loic.poulain@linaro.org&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'i2c/for-mergewindow' into i2c/for-next</title>
<updated>2022-06-14T20:32:53+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@kernel.org</email>
</author>
<published>2022-06-14T20:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8c8636f50eb2b8465c1f53637b8fe57989dd25d7'/>
<id>urn:sha1:8c8636f50eb2b8465c1f53637b8fe57989dd25d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'i2c/for-current' into i2c/for-next</title>
<updated>2022-06-14T20:32:53+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@kernel.org</email>
</author>
<published>2022-06-14T20:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=1ca8743a456b18147148b9050f5c57e582140949'/>
<id>urn:sha1:1ca8743a456b18147148b9050f5c57e582140949</id>
<content type='text'>
</content>
</entry>
<entry>
<title>i2c: mediatek: Fix an error handling path in mtk_i2c_probe()</title>
<updated>2022-06-14T20:11:54+00:00</updated>
<author>
<name>Christophe JAILLET</name>
<email>christophe.jaillet@wanadoo.fr</email>
</author>
<published>2022-05-22T12:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=de87b603b0919e31578c8fa312a3541f1fb37e1c'/>
<id>urn:sha1:de87b603b0919e31578c8fa312a3541f1fb37e1c</id>
<content type='text'>
The clsk are prepared, enabled, then disabled. So if an error occurs after
the disable step, they are still prepared.

Add an error handling path to unprepare the clks in such a case, as already
done in the .remove function.

Fixes: 8b4fc246c3ff ("i2c: mediatek: Optimize master_xfer() and avoid circular locking")
Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Reviewed-by: AngeloGioacchino Del Regno &lt;angelogioacchino.delregno@collabora.com&gt;
Reviewed-by: Qii Wang &lt;qii.wang@mediatek.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: mv64xxx: Add atomic_xfer method to driver</title>
<updated>2022-06-14T20:10:10+00:00</updated>
<author>
<name>Chris Morgan</name>
<email>macromorgan@hotmail.com</email>
</author>
<published>2022-03-30T17:16:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=544a8d75f3d6e60e160cd92dc56321484598a993'/>
<id>urn:sha1:544a8d75f3d6e60e160cd92dc56321484598a993</id>
<content type='text'>
Add an atomic_xfer method to the driver so that it behaves correctly
when controlling a PMIC that is responsible for device shutdown.

The atomic_xfer method added is similar to the one from the i2c-rk3x
driver. When running an atomic_xfer a bool flag in the driver data is
set, the interrupt is not unmasked on transfer start, and the IRQ
handler is manually invoked while waiting for pending transfers to
complete.

Signed-off-by: Chris Morgan &lt;macromorgan@hotmail.com&gt;
Acked-by: Gregory CLEMENT &lt;gregory.clement@bootlin.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
</feed>
