Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

DMA-API: usb: ohci-sa1111: add a note about DMA masks

Add a comment to explain why this driver doesn't call any of the DMA
API dma_set_mask() functions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

+6
+6
drivers/usb/host/ohci-sa1111.c
··· 185 185 if (usb_disabled()) 186 186 return -ENODEV; 187 187 188 + /* 189 + * We don't call dma_set_mask_and_coherent() here because the 190 + * DMA mask has already been appropraitely setup by the core 191 + * SA-1111 bus code (which includes bug workarounds.) 192 + */ 193 + 188 194 hcd = usb_create_hcd(&ohci_sa1111_hc_driver, &dev->dev, "sa1111"); 189 195 if (!hcd) 190 196 return -ENOMEM;