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 17:07:14 +0000 (17:07 +0000)
commitde6ca501addc3f108c1cc51bcd029d1895d4ea38
treee0034520bf1cbab2dd7139364ba22a3679e4b6be
parent3b93096d29c5b9ca2af94be4ee9949c1767acf17
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