summaryrefslogtreecommitdiff
path: root/xhfc/xhfc_st_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'xhfc/xhfc_st_state.c')
-rw-r--r--xhfc/xhfc_st_state.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/xhfc/xhfc_st_state.c b/xhfc/xhfc_st_state.c
index 6f15e00..6a94f78 100644
--- a/xhfc/xhfc_st_state.c
+++ b/xhfc/xhfc_st_state.c
@@ -242,22 +242,8 @@ static void activation_timer_expiry(struct xhfc_span* s)
s->activation_timer = NOT_RUNNING;
- if (t1_expiry) {
-
- /* When setting the state to G4 by writing
- * A_SU_WR_STA, is the T2 timer automatically
- * started? I suppose so because I don't see
- * any other way to start it and it is
- * implemented in hardware.
- */
-
+ if (t1_expiry || t3_expiry)
deactivate_request(s);
-
- } else if(t3_expiry) {
-
- deactivate_request(s);
-
- }
}
static void allow_G2_G3_transition(struct xhfc_span* s)