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

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

 



Hi,

On Fri, Sep 30, 2011 at 10:24:20PM +0300, Felipe Balbi wrote:
> This is actually a good point. We can't simply roundup request length on
> UDC driver because we don't know if gadget driver has allocated enough
> space should host send more data.
> 
> OTOH, if we don't roundup request->lenght, driver won't work *always* on
> SuperSpeed.
> 
> From DWC3 point this patch should be acceptable, but there could be
> another controller with a different quirk where DMA wouldn't complete
> unless we pass correct size, dunno.
> 
> Alan ?

I just remembered, though, that MSC has no short packets, that's why we
set short_not_ok flag. So, is this really necessary ? I'll run some
extra tests on monday.

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