Commit 3533a98
maple: Unplug top device after all sub-devices
Sometimes, and in particular when using rumble, the top maple device on
a port can get unresponsive for an unknown reason. Instead of
considering it unplugged right away and unregistering it and all its
children devices, unregister it only if all of its sub-devices have
already been detected as unplugged.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>1 parent f64b49e commit 3533a98
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 134 | + | |
| 135 | + | |
142 | 136 | | |
143 | 137 | | |
144 | 138 | | |
| |||
0 commit comments