diff options
author | 2024-08-16 10:01:59 +0300 | |
---|---|---|
committer | 2024-08-16 09:57:50 +0200 | |
commit | ad899c301c880766cc709aad277991b3ab671b66 (patch) | |
tree | fd8cd7fb48657ce3d521f76c17b7edb4044530fb /rust/helpers/build_bug.c | |
parent | Revert "misc: fastrpc: Restrict untrusted app to attach to privileged PD" (diff) | |
download | wireguard-linux-ad899c301c880766cc709aad277991b3ab671b66.tar.xz wireguard-linux-ad899c301c880766cc709aad277991b3ab671b66.zip |
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: ccbde4b128ef ("char: xillybus: Don't destroy workqueue from work item running on it")
Cc: stable <stable@kernel.org>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Link: https://lore.kernel.org/r/20240816070200.50695-1-eli.billauer@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions