回覆: [PATCH 3/8] i3c: mipi-i3c-hci: Add a quirk for 64-bit DMA addressing

From: Billy Tsai

Date: Wed Sep 09 2026 - 01:38:08 EST


> > + if (hci->quirks & HCI_QUIRK_DMA_64BIT) {
> > + ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));

> dma_set_mask_and_coherent() never return fail when bit mask >= 32
>
> if (hci->quirks & HCI_QUIRK_DMA_64BIT)
> dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));

Okay, I will drop the return check.

Billy