Commit | Line | Data |
---|---|---|
34e49164 C |
1 | int main() { |
2 | spin_lock(&isp116x->lock); | |
3 | /* take idle endpoints out of the schedule */ | |
4 | if (!list_empty(&ep->hep->urb_list)) { | |
5 | spin_unlock(&isp116x->lock); | |
6 | return; | |
7 | } | |
8 | ||
9 | /* async deschedule */ | |
10 | if (!list_empty(&ep->schedule)) { | |
11 | spin_unlock(&isp116x->lock); | |
12 | return; | |
13 | } | |
14 | } |