diff options
author | Li Jun <b47624@freescale.com> | 2014-05-16 15:15:34 -0400 |
---|---|---|
committer | Li Jun <B47624@freescale.com> | 2014-06-26 04:49:55 -0400 |
commit | e4f6fd0ec67b34ca9ed40dfd009e75c66fb71d94 (patch) | |
tree | 74205bae90f37ea0315c2b56cad66c8c52ae5790 /include | |
parent | c2df0104f56d83b9bdc06e350358dc4cdffa87df (diff) |
ENGR00319720-2 usb: common: otg-fsm: start HNP polling timer in host state
This patch starts HNP polling timer when otg is set to be a_host
or b_host.
Signed-off-by: Li Jun <b47624@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/otg-fsm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/usb/otg-fsm.h b/include/linux/usb/otg-fsm.h index b6ba1bfb86f2..1deea98838b2 100644 --- a/include/linux/usb/otg-fsm.h +++ b/include/linux/usb/otg-fsm.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (C) 2007,2008 Freescale Semiconductor, Inc. | 1 | /* Copyright (C) 2007-2014 Freescale Semiconductor, Inc. |
2 | * | 2 | * |
3 | * This program is free software; you can redistribute it and/or modify it | 3 | * This program is free software; you can redistribute it and/or modify it |
4 | * under the terms of the GNU General Public License as published by the | 4 | * under the terms of the GNU General Public License as published by the |
@@ -53,6 +53,7 @@ enum otg_fsm_timer { | |||
53 | B_SE0_SRP, | 53 | B_SE0_SRP, |
54 | B_SRP_FAIL, | 54 | B_SRP_FAIL, |
55 | A_WAIT_ENUM, | 55 | A_WAIT_ENUM, |
56 | HNP_POLLING, | ||
56 | 57 | ||
57 | NUM_OTG_FSM_TIMERS, | 58 | NUM_OTG_FSM_TIMERS, |
58 | }; | 59 | }; |