Re: [PATCH v2] usb: fix mass storage gadgets to work with Synopsys UDC

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

 



Hi,

(please don't top-post, ever)

On Thu, May 31, 2012 at 12:06:21PM +0530, Rajaram R wrote:
>  Hi Felipe/Paul
> 
>  Any reason for removing short_not_ok ? I believe it still holds true
>  even after this patch. I will push a patch for the same if there is no
>  objection.

It doesn't hold true at all. We _want_ a short packet in order to end
the transfer. Let me illustrate:

We want to receive 31-byte CBw, but our UDC can't handle short packets
on OUT direction, so we start a transfer for wMaxPacketSize. If we said
short_not_ok, the driver wouldn't like when we received 31-byte and
ended the transfer.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux