Re: [RFC][PATCH v2 02/13] usb: otg-fsm: support multiple instances

2015-04-16 Thread Peter Chen
On Thu, Apr 16, 2015 at 02:58:20PM +0300, Roger Quadros wrote: > On 16/04/15 14:36, Peter Chen wrote: > > On Tue, Apr 14, 2015 at 01:41:49PM +0300, Roger Quadros wrote: > >> Move the state_changed variable into struct otg_fsm > >> so that we can support multiple instances. > > > > OTG device has o

Re: [RFC][PATCH v2 02/13] usb: otg-fsm: support multiple instances

2015-04-16 Thread Roger Quadros
On 16/04/15 14:36, Peter Chen wrote: > On Tue, Apr 14, 2015 at 01:41:49PM +0300, Roger Quadros wrote: >> Move the state_changed variable into struct otg_fsm >> so that we can support multiple instances. > > OTG device has only one port. See 3.1.1. > If you go to pass OTG Certification, the lab req

Re: [RFC][PATCH v2 02/13] usb: otg-fsm: support multiple instances

2015-04-16 Thread Peter Chen
On Tue, Apr 14, 2015 at 01:41:49PM +0300, Roger Quadros wrote: > Move the state_changed variable into struct otg_fsm > so that we can support multiple instances. OTG device has only one port. See 3.1.1. If you go to pass OTG Certification, the lab requires that there is only one port at your board

[RFC][PATCH v2 02/13] usb: otg-fsm: support multiple instances

2015-04-14 Thread Roger Quadros
Move the state_changed variable into struct otg_fsm so that we can support multiple instances. Signed-off-by: Roger Quadros --- drivers/usb/common/usb-otg-fsm.c | 10 -- include/linux/usb/otg-fsm.h | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/usb/co