RE: [PATCH] USB: musb: allow unaligned memory data transfers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Felipe Balbi wrote:
> >+	/* On MUSB:RTL1.8 and above, DMA has to be word aligned */
> >+	if ((dma_addr % 4) &&
> >+		(musb->hwvers >= MUSB_HWVERS_1800)) {
> 
> is it only inventra dma that suffers from this ? If not, we could move 
> this check before even calling the dma routine.

Yes, it's only the integrated Inventra DMA that behaves like this.

Anyway, I don't think newer versions of the IP are being used by
anyone without the Inventra DMA. The older versions though are
sometimes used with external DMA controllers.

- Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux