Unverified Commit b682965a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!15009 i3c: mipi-i3c-hci: Mask ring interrupts before ring stop request

parents f461f825 355255a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,10 +174,10 @@ static void hci_dma_cleanup(struct i3c_hci *hci)
	for (i = 0; i < rings->total; i++) {
		rh = &rings->headers[i];

		rh_reg_write(INTR_SIGNAL_ENABLE, 0);
		rh_reg_write(RING_CONTROL, 0);
		rh_reg_write(CR_SETUP, 0);
		rh_reg_write(IBI_SETUP, 0);
		rh_reg_write(INTR_SIGNAL_ENABLE, 0);

		if (rh->xfer)
			dma_free_coherent(&hci->master.dev,