On Tue, Feb 26, 2013 at 05:55:38PM +0800, Peter Chen wrote: > On Mon, Feb 25, 2013 at 09:03:27AM +0200, Felipe Balbi wrote: > > Don't register anything non-generic under > > the gadget's device as we don't really *own* > > it. > > Hi Felipe, > > Would you like to explain why it is not suitable? > If it is a otg device, we may not want to see > gadget debug things at device's sys entry when > it is at host mode. see the other patches, gadget.dev won't be registered by chipidea anymore. Also, under the gadget device directory we only want generic attributes and debug-related files should be implemented using debugfs anyway. If you need anything under gadget->dev directory, figure out a way to make it generic and implement it on drivers/usb/gadget/udc-core.c -- balbi
Attachment:
signature.asc
Description: Digital signature