mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
i3c: mipi-i3c-hci-pci: Set 64-bit DMA mask for Intel controllers
All Intel controllers support 64-bit DMA. Set the DMA mask accordingly. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20251128064038.55158-2-adrian.hunter@intel.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
ddb37d5b13
commit
8c05229939
|
|
@ -36,6 +36,8 @@ static int mipi_i3c_hci_pci_intel_init(struct pci_dev *pci)
|
|||
if (!priv)
|
||||
return -ENOMEM;
|
||||
|
||||
dma_set_mask_and_coherent(&pci->dev, DMA_BIT_MASK(64));
|
||||
|
||||
/* Assert reset, wait for completion and release reset */
|
||||
writel(0, priv + INTEL_PRIV_RESETS);
|
||||
timeout = jiffies + msecs_to_jiffies(10);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user