usb: otg-fsm: support multiple instances
Move the state_changed variable into struct otg_fsm so that we can support multiple instances. Signed-off-by: Roger Quadros <rogerq@ti.com> Acked-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
This commit is contained in:

committed by
Peter Chen

parent
fa59507f72
commit
4e332df634
@@ -210,6 +210,7 @@ struct otg_fsm {
|
||||
struct mutex lock;
|
||||
u8 *host_req_flag;
|
||||
struct delayed_work hnp_polling_work;
|
||||
bool state_changed;
|
||||
};
|
||||
|
||||
struct otg_fsm_ops {
|
||||
|
Reference in New Issue
Block a user