Re: [PATCH 2/8] usb: musb: use length of out short packet to configure dma

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

 



On Tue, Mar 15, 2011 at 04:24:25PM +0100, Mian Yousaf Kaukab wrote:
> For Inventra dma, dma is configured for rx transfers after receiving first
> packet (MUSB_RXCSR_RXPKTRDY set in RXCSR).  DMA is configured based on the
> requested length or the maximum length dma can handle. However, if the
> received packet is less than the maximum packet size, length of this packet
> should be used to configure the dma. As it will be the only packet to transfer
> for this request.
> 
> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@xxxxxxxxxxxxxx>

AFAIK a short packet can't be transferred with mode1 DMA, so why even
bother ? Or did you manage to get mode1 to transfer this short packet ?

-- 
balbi
--
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