+ 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
Thread (25 messages)
25 messages,
5 authors,
last reply 12d ago