On Fri, 24 Aug 2012, Chen Peter-B29397 wrote:

>  
> > 
> > On Wed, Aug 15, 2012 at 09:49:55AM +0000, Chen Peter-B29397 wrote:
> > > Hi Alan,
> > Hi Peter,
> > 
> > > One of my colleagues reports a problem that the enumeration will fail
> > if
> > > the storage has some problems.
> > 
> > A silghtly different question: do you think you can check if this kind of
> > problem is also in the tcm_usb_gadget storage driver?
> > 
> 
> I have checked, but I can't understand tcm code well, so I don't know
> this problem exists or not.

Sebastian, you might be able to check this yourself.  What does 
tcm_usb_gadget do when it gets a USB port reset?  Does it tell the 
storage layer to sync all the dirty pages?

Also, does it sync the dirty pages when it gets a USB disconnect?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to