<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/i3c, branch v5.0</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.0</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2019-01-26T10:14:25Z</updated>
<entry>
<title>i3c: master: dw: fix deadlock</title>
<updated>2019-01-26T10:14:25Z</updated>
<author>
<name>Jisheng Zhang</name>
<email>Jisheng.Zhang@synaptics.com</email>
</author>
<published>2019-01-25T07:29:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f36c1f9a8dfd6a78e6c3fe7aff5e722b84307597'/>
<id>urn:sha1:f36c1f9a8dfd6a78e6c3fe7aff5e722b84307597</id>
<content type='text'>
In dw_i3c_master_irq_handler(), we already have gotten
&amp;master-&gt;xferqueue.lock, if we try to get the same lock again in
dw_i3c_master_dequeue_xfer(), deadlock happens.

We fix this issue by introduing dw_i3c_master_dequeue_xfer_locked()
which does all what dw_i3c_master_dequeue_xfer() does without trying
to lock &amp;master-&gt;xferqueue.lock.

Signed-off-by: Jisheng Zhang &lt;Jisheng.Zhang@synaptics.com&gt;
Acked-by: Vitor Soares &lt;vitor.soares@synopsys.com&gt;
Signed-off-by: Boris Brezillon &lt;bbrezillon@kernel.org&gt;
</content>
</entry>
<entry>
<title>i3c: fix missing detach if failed to retrieve i3c dev</title>
<updated>2019-01-25T07:48:01Z</updated>
<author>
<name>Jisheng Zhang</name>
<email>Jisheng.Zhang@synaptics.com</email>
</author>
<published>2019-01-25T07:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=093c61b6a0d5768f48442ec59d671496314cc47d'/>
<id>urn:sha1:093c61b6a0d5768f48442ec59d671496314cc47d</id>
<content type='text'>
If we failed to retrieve the i3c dev, we should detach the i3c dev
I.E i3c_master_detach_i3c_dev().

Signed-off-by: Jisheng Zhang &lt;Jisheng.Zhang@synaptics.com&gt;
Signed-off-by: Boris Brezillon &lt;bbrezillon@kernel.org&gt;
</content>
</entry>
<entry>
<title>i3c: master: dw-i3c-master: fix i3c_attach/reattach</title>
<updated>2019-01-15T10:15:11Z</updated>
<author>
<name>Vitor Soares</name>
<email>vitor.soares@synopsys.com</email>
</author>
<published>2019-01-10T15:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f29fd331aa055fbeb5a496b4af937b7952111b6b'/>
<id>urn:sha1:f29fd331aa055fbeb5a496b4af937b7952111b6b</id>
<content type='text'>
This patch fix i3c_attach/reattach functions.

During the i3c_attach the driver ignores the static address used for
SETDASA CCC command.

During the i3c_reattach the driver doesn't update master-&gt;addrs[data-&gt;index]
with new address if old_dyn_addr = 0.

Fixes: 1dd728f5d4d4 ("i3c: master: Add driver for Synopsys DesignWare IP")
Signed-off-by: Vitor Soares &lt;vitor.soares@synopsys.com&gt;
Signed-off-by: Boris Brezillon &lt;bbrezillon@kernel.org&gt;
</content>
</entry>
<entry>
<title>i3c: master: Fix an error checking typo in 'cdns_i3c_master_probe()'</title>
<updated>2019-01-07T13:18:17Z</updated>
<author>
<name>Christophe JAILLET</name>
<email>christophe.jaillet@wanadoo.fr</email>
</author>
<published>2018-12-29T00:05:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0fac32f24ceadad801ef1f4de468f1d5186c808d'/>
<id>urn:sha1:0fac32f24ceadad801ef1f4de468f1d5186c808d</id>
<content type='text'>
Fix a cut'n'paste typo.
Checking 'master-&gt;sysclk' is expected here.

Fixes: 603f2bee2c54 ("i3c: master: Add driver for Cadence IP")
Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Boris Brezillon &lt;bbrezillon@kernel.org&gt;
</content>
</entry>
<entry>
<title>i3c: master: cdns: fix I2C transfers in Cadence I3C master driver</title>
<updated>2018-12-12T16:08:32Z</updated>
<author>
<name>Przemyslaw Gaj</name>
<email>pgaj@cadence.com</email>
</author>
<published>2018-12-12T11:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=25ac3da61ba144f8dbfe377eeec6b1da7ad0854a'/>
<id>urn:sha1:25ac3da61ba144f8dbfe377eeec6b1da7ad0854a</id>
<content type='text'>
This patch fixes I2C transfers in Cadence I3C master driver.
There was no way to queue more than one I2C transfer before.

Fixes: 603f2bee2c54 ("i3c: master: Add driver for Cadence IP")
Signed-off-by: Przemyslaw Gaj &lt;pgaj@cadence.com&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
<entry>
<title>ic3: off by one in mode_show()</title>
<updated>2018-12-05T16:22:58Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2018-11-23T07:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=afe120c777b7a6aa23b8c8a5fedae9201a7ced0c'/>
<id>urn:sha1:afe120c777b7a6aa23b8c8a5fedae9201a7ced0c</id>
<content type='text'>
This should be &gt;= ARRAY_SIZE() to avoid reading one element beyond the
end of the array.

Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
<entry>
<title>i3c: fix an error code in i3c_master_add_i3c_dev_locked()</title>
<updated>2018-12-05T16:22:58Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2018-11-23T07:14:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=840414ae59d8858bca0a704e7f9c910d661348d7'/>
<id>urn:sha1:840414ae59d8858bca0a704e7f9c910d661348d7</id>
<content type='text'>
We should return "ret" as-is.  The "newdev" variable is a valid pointer.

Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
<entry>
<title>i3c: master: dw: fix mask operation by using the correct operator</title>
<updated>2018-12-05T16:22:58Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2018-11-16T18:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2b2b283c059617e1be6b49872fd004b59c66594a'/>
<id>urn:sha1:2b2b283c059617e1be6b49872fd004b59c66594a</id>
<content type='text'>
The masking operation on status is using a bitwise 'or' rather than
a bitwise 'and' operator, and hence the result is always non-zero
which is probably not what is intended. Fix this by using the correct
operator.

Detected by CoverityScan, CID#1475523 ("Wrong operator used")

Fixes: 88acc98a712a ("i3c: master: Add driver for Synopsys DesignWare IP")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Acked-by: Vitor Soares &lt;vitor.soares@synopsys.com&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
<entry>
<title>i3c: master: Add driver for Synopsys DesignWare IP</title>
<updated>2018-12-05T16:22:58Z</updated>
<author>
<name>Vitor Soares</name>
<email>vitor.soares@synopsys.com</email>
</author>
<published>2018-11-13T14:09:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1dd728f5d4d4b8b53196c1e0fcf86bbaaee39cef'/>
<id>urn:sha1:1dd728f5d4d4b8b53196c1e0fcf86bbaaee39cef</id>
<content type='text'>
Add driver for Synopsys DesignWare I3C master IP

Signed-off-by: Vitor Soares &lt;vitor.soares@synopsys.com&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
<entry>
<title>i3c: master: Remove set but not used variable 'old_i3c_scl_lim'</title>
<updated>2018-12-05T16:22:58Z</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2018-11-14T06:10:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ad15e8c0fafa4f9acdc756df6b0c5f2b3a70d2c9'/>
<id>urn:sha1:ad15e8c0fafa4f9acdc756df6b0c5f2b3a70d2c9</id>
<content type='text'>
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/i3c/master/i3c-master-cdns.c: In function 'cdns_i3c_master_do_daa':
drivers/i3c/master/i3c-master-cdns.c:1137:16: warning:
 variable 'old_i3c_scl_lim' set but not used [-Wunused-but-set-variable]

It never used since introdution in commit
  acfab7d324b2 ("i3c: master: Add driver for Cadence IP")

Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
</feed>
