RE: usb : mass storage : short_not_ok for non usb3 udc

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

 



> From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Alan Stern
> 
> On Wed, 25 Jul 2012, Rajaram R wrote:
> 
> > >> > There's one thing I don't get.  The message talks about musb but
> > >> > the code checks for non Super Speed devices.  So maybe the code
> > >> > is correct, maybe it's not, but the message does not really explain it (at
> least to me).
> > >> >
> > >> Please let me know if this thread sets the context ?
> > >>
> > >> http://www.spinics.net/lists/linux-usb/msg64938.html
> > >
> > > I don't understand this either.  What's wrong with setting
> > > short_not_ok while at SuperSpeed?  It shouldn't force the use of a
> bounce buffer.
> > >
> >
> > I have just brought back some code removed by patch "usb: fix mass
> > storage gadgets to work with Synopsys UDC".
> 
> Maybe while bringing it back you can remove the checks for SuperSpeed.
> Is there any reason to keep them?

Hi Alan,

The problem only arises because at super-speed the MaxPacket size is
1024, which is greater than the sector size of 512. So the whole point of
the patch is to fix the SuperSpeed operation, while allowing high-speed
devices to operate as they always did.

-- 
Paul

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