Re: gadget: short_not_ok field in usb_request

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

 



David Brownell wrote:
> In that case you'd have to arrange for a short RX packet to
> stop the DMA queue processing.  (I've never seen peripheral
> side hardware with DMA that works well enough to support this
> type of implementation strategy.)

Actually, the Atmel USBA controller (for AVR32 and AT91) has a "stop
DMA on endpoint interrupt" bit which can probably be used to achieve
this. But I don't think the driver is currently queueing DMA requests as
aggressively as it could, so I don't think it will make any difference
unless the queueing code is optimized a bit.

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