Commit ad899c3
char: xillybus: Refine workqueue handling
As the wakeup work item now runs on a separate workqueue, it needs to be
flushed separately along with flushing the device's workqueue.
Also, move the destroy_workqueue() call to the end of the exit method,
so that deinitialization is done in the opposite order of
initialization.
Fixes: ccbde4b ("char: xillybus: Don't destroy workqueue from work item running on it")
Cc: stable <[email protected]>
Signed-off-by: Eli Billauer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 9bb5e74 commit ad899c3
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2093 | 2093 | | |
2094 | 2094 | | |
2095 | 2095 | | |
2096 | | - | |
| 2096 | + | |
| 2097 | + | |
2097 | 2098 | | |
2098 | 2099 | | |
| 2100 | + | |
2099 | 2101 | | |
2100 | 2102 | | |
2101 | 2103 | | |
| |||
2274 | 2276 | | |
2275 | 2277 | | |
2276 | 2278 | | |
2277 | | - | |
2278 | | - | |
2279 | 2279 | | |
| 2280 | + | |
| 2281 | + | |
2280 | 2282 | | |
2281 | 2283 | | |
2282 | 2284 | | |
| |||
0 commit comments