Skip to content

Commit 225d5ef

Browse files
nxpfranklialexandrebelloni
authored andcommitted
i3c: master: svc: fix check wrong status register in irq handler
svc_i3c_master_irq_handler() wrongly checks register SVC_I3C_MINTMASKED. It should be SVC_I3C_MSTATUS. Fixes: dd3c528 ("i3c: master: svc: Add Silvaco I3C master driver") Cc: <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent c85e209 commit 225d5ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i3c/master/svc-i3c-master.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ static void svc_i3c_master_ibi_work(struct work_struct *work)
477477
static irqreturn_t svc_i3c_master_irq_handler(int irq, void *dev_id)
478478
{
479479
struct svc_i3c_master *master = (struct svc_i3c_master *)dev_id;
480-
u32 active = readl(master->regs + SVC_I3C_MINTMASKED);
480+
u32 active = readl(master->regs + SVC_I3C_MSTATUS);
481481

482482
if (!SVC_I3C_MSTATUS_SLVSTART(active))
483483
return IRQ_NONE;

0 commit comments

Comments
 (0)