* Set both the DMA mask and the coherent DMA mask to the same thing. * Note that we don't check the return value from dma_set_coherent_mask() * as the DMA API guarantees that the coherent DMA mask can be set to * the same or smaller than the streaming DMA mask. */ static inli...
Instantiating the sm501 OHCI subdevice results in a kernel warning. sm501-usb sm501-usb: SM501 OHCI sm501-usb sm501-usb: new USB bus registered, assigned bus number 1 WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 ohci_init+0x194/0x2d8 Modules linked in: CPU: 0 ...
dma_set_mask_and_coherent出错 dma_setcurrdatacounter dma-1 error fatal error dma error dma-1 error dma_getitstatus dma setup auto-activate unable to set coherent dma mask dma test not applicable怎么办 dma_getcurrentmemorytarget dma timeout...
The device file was not created. If I removed following lines in axidma_chrdev.c : dma_mask = DMA_BIT_MASK(8 * sizeof(dma_addr_t)); if (dma_set_coherent_mask(dev->device, dma_mask)) { axidma_err("Unable to set the DMA coherent mask.\n"); goto device_cleanup; } ...