i3c: master: cdns: Fix reading status register
authorJoshua Yeong <joshua.yeong@starfivetech.com>
Wed, 13 Sep 2023 03:17:45 +0000 (11:17 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 25 Sep 2023 21:31:37 +0000 (23:31 +0200)
commit4bd8405257da717cd556f99e5fb68693d12c9766
tree04da5e058c348a801afef2302eaaada48f6d7a0f
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
i3c: master: cdns: Fix reading status register

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>
drivers/i3c/master/i3c-master-cdns.c