Skip to content

Commit 422d0e4

Browse files
jhnikulaalexandrebelloni
authored andcommitted
i3c: mipi-i3c-hci: Remove nonexistent ring interrupt
Ring interrupt bit 7, INTR_WARN_INS_STOP_MODE was probably drafted at some point but is marked as reserved in the MIPI I3C HCI specification versions 1.1 and 1.2 that came out after the initial code and also in the earlier specification versions so remove it. Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20250827103009.243771-3-jarkko.nikula@linux.intel.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent fc09ffd commit 422d0e4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • drivers/i3c/master/mipi-i3c-hci

drivers/i3c/master/mipi-i3c-hci/dma.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
#define INTR_TRANSFER_COMPLETION BIT(11)
7878
#define INTR_RING_OP BIT(10)
7979
#define INTR_TRANSFER_ERR BIT(9)
80-
#define INTR_WARN_INS_STOP_MODE BIT(7)
8180
#define INTR_IBI_RING_FULL BIT(6)
8281
#define INTR_TRANSFER_ABORT BIT(5)
8382

@@ -278,7 +277,6 @@ static int hci_dma_init(struct i3c_hci *hci)
278277
INTR_TRANSFER_COMPLETION |
279278
INTR_RING_OP |
280279
INTR_TRANSFER_ERR |
281-
INTR_WARN_INS_STOP_MODE |
282280
INTR_IBI_RING_FULL |
283281
INTR_TRANSFER_ABORT);
284282

@@ -795,9 +793,6 @@ static bool hci_dma_irq_handler(struct i3c_hci *hci)
795793
RING_CTRL_RUN_STOP);
796794
}
797795
}
798-
if (status & INTR_WARN_INS_STOP_MODE)
799-
dev_warn_ratelimited(&hci->master.dev,
800-
"ring %d: Inserted Stop on Mode Change\n", i);
801796
if (status & INTR_IBI_RING_FULL)
802797
dev_err_ratelimited(&hci->master.dev,
803798
"ring %d: IBI Ring Full Condition\n", i);

0 commit comments

Comments
 (0)