aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-fsm-usb.h
diff options
context:
space:
mode:
authorAnton Tikhomirov <av.tikhomirov@samsung.com>2013-10-02 23:42:04 -0400
committerFelipe Balbi <balbi@ti.com>2013-10-04 10:44:48 -0400
commitcff4dab4cb95d394e9fd73f668326dac06e57b10 (patch)
tree0db13178d017c2a3bb04d0c4716a712f07208c47 /drivers/usb/phy/phy-fsm-usb.h
parent3294908bc0f178bfd67971fdb4432f3d4e50921e (diff)
usb: phy: Rename OTG FSM informative variables
Mark informative variables with suffix '_inf' to distinguish them from other non-informative variables with the same name. If such non-informative varialbes were missed, they are created. Signed-off-by: Anton Tikhomirov <av.tikhomirov@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-fsm-usb.h')
-rw-r--r--drivers/usb/phy/phy-fsm-usb.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/usb/phy/phy-fsm-usb.h b/drivers/usb/phy/phy-fsm-usb.h
index a74e14aaa839..4049e5cc4abb 100644
--- a/drivers/usb/phy/phy-fsm-usb.h
+++ b/drivers/usb/phy/phy-fsm-usb.h
@@ -54,9 +54,12 @@ enum otg_fsm_timer {
54/* OTG state machine according to the OTG spec */ 54/* OTG state machine according to the OTG spec */
55struct otg_fsm { 55struct otg_fsm {
56 /* Input */ 56 /* Input */
57 int a_bus_drop;
58 int a_bus_req;
57 int a_bus_resume; 59 int a_bus_resume;
58 int a_bus_suspend; 60 int a_bus_suspend;
59 int a_conn; 61 int a_conn;
62 int b_bus_req;
60 int a_sess_vld; 63 int a_sess_vld;
61 int a_srp_det; 64 int a_srp_det;
62 int a_vbus_vld; 65 int a_vbus_vld;
@@ -72,6 +75,7 @@ struct otg_fsm {
72 int a_set_b_hnp_en; 75 int a_set_b_hnp_en;
73 int b_srp_done; 76 int b_srp_done;
74 int b_hnp_enable; 77 int b_hnp_enable;
78 int a_clr_err;
75 79
76 /* Timeout indicator for timers */ 80 /* Timeout indicator for timers */
77 int a_wait_vrise_tmout; 81 int a_wait_vrise_tmout;
@@ -82,11 +86,11 @@ struct otg_fsm {
82 int a_bidl_adis_tmout; 86 int a_bidl_adis_tmout;
83 87
84 /* Informative variables */ 88 /* Informative variables */
85 int a_bus_drop; 89 int a_bus_drop_inf;
86 int a_bus_req; 90 int a_bus_req_inf;
87 int a_clr_err; 91 int a_clr_err_inf;
88 int a_suspend_req; 92 int a_suspend_req_inf;
89 int b_bus_req; 93 int b_bus_req_inf;
90 94
91 /* Output */ 95 /* Output */
92 int drv_vbus; 96 int drv_vbus;