Re: [PATCH] usb: gadget: file_storage: don't assume wMaxPacketSize to be 512

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

 



Hi,

On Tue, Apr 05, 2011 at 12:06:13PM +0200, Mian Yousaf Kaukab wrote:
> > IMHO, we should avoid PIO as much as possible. Specially with USB3
> > comming. It's fairly simple for driver to always set req->length as a
> > multiple of wMaxPacketSize and that'll make all controllers happy, not
> > only just a few.
> I didn't say anything about the req->length ;).  What I am trying to
> say is that please do not remove short_not_ok.
> 
> Even for the CBW request, it is ok to bring back
> set_bulk_out_req_length(). Just make sure that short_not_ok is set to
> 0 for that.

I see.

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