Re: [PATCH v3 02/11] usb: otg-fsm: support multiple instances

2015-07-17 Thread Roger Quadros
On 13/07/15 04:39, Peter Chen wrote: On Fri, Jul 10, 2015 at 04:06:43PM +0800, Li Jun wrote: On Wed, Jul 08, 2015 at 01:19:28PM +0300, Roger Quadros wrote: Move the state_changed variable into struct otg_fsm so that we can support multiple instances. I am not sure if multiple instances may

Re: [PATCH v3 02/11] usb: otg-fsm: support multiple instances

2015-07-12 Thread Peter Chen
On Fri, Jul 10, 2015 at 04:06:43PM +0800, Li Jun wrote: On Wed, Jul 08, 2015 at 01:19:28PM +0300, Roger Quadros wrote: Move the state_changed variable into struct otg_fsm so that we can support multiple instances. I am not sure if multiple instances may happen since OTG protocol requires

Re: [PATCH v3 02/11] usb: otg-fsm: support multiple instances

2015-07-10 Thread Li Jun
On Wed, Jul 08, 2015 at 01:19:28PM +0300, Roger Quadros wrote: Move the state_changed variable into struct otg_fsm so that we can support multiple instances. I am not sure if multiple instances may happen since OTG protocol requires only one OTG port can be equipped on OTG device. Li Jun

[PATCH v3 02/11] usb: otg-fsm: support multiple instances

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