Re: [PATCH 2/2] usb: chipidea: otg: use usb autosuspend to suspend bus for HNP

2015-12-23 Thread Peter Chen
On Tue, Dec 15, 2015 at 06:26:07PM +0800, Li Jun wrote: > Directly manipulate the controller regsiter to suspend the usb bus > for HNP is not the proper way, this should be done through the usbcore > by usb autosuspend. So to start HNP, autosuspend support should be > added for OTG devices interfac

[PATCH 2/2] usb: chipidea: otg: use usb autosuspend to suspend bus for HNP

2015-12-15 Thread Li Jun
Directly manipulate the controller regsiter to suspend the usb bus for HNP is not the proper way, this should be done through the usbcore by usb autosuspend. So to start HNP, autosuspend support should be added for OTG devices interface driver if it's not enabled. Signed-off-by: Li Jun --- drive