]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i3c: master: cdns: Fix reading status register
authorJoshua Yeong <joshua.yeong@starfivetech.com>
Wed, 13 Sep 2023 03:17:45 +0000 (11:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 16:56:31 +0000 (16:56 +0000)
commitcc7efd1054f47e5cb7b1601f70c75969d4b8efbf
tree452a25a1ab12f443a40df9436d2df6aa05edace0
parentd3c6a08c2b774f626b21022318e8afaf63b05d99
i3c: master: cdns: Fix reading status register

commit 4bd8405257da717cd556f99e5fb68693d12c9766 upstream.

IBIR_DEPTH and CMDR_DEPTH should read from status0 instead of status1.

Cc: stable@vger.kernel.org
Fixes: 603f2bee2c54 ("i3c: master: Add driver for Cadence IP")
Signed-off-by: Joshua Yeong <joshua.yeong@starfivetech.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20230913031743.11439-2-joshua.yeong@starfivetech.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i3c/master/i3c-master-cdns.c