diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2016-05-31 12:56:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-07 22:42:53 -0700 |
commit | e8593a8abf8cc35073b1c26bb0492f7e361b6ac1 (patch) | |
tree | 2a22ec66063bb9e91822d7596b91d3068b367b27 /drivers/staging/ks7010/TODO | |
parent | staging: ks7010: remove code for old kernel versions (diff) | |
download | linux-dev-e8593a8abf8cc35073b1c26bb0492f7e361b6ac1.tar.xz linux-dev-e8593a8abf8cc35073b1c26bb0492f7e361b6ac1.zip |
staging: ks7010: avoid workqueue races
My Spectec SDW823 card oopsed when it was already inserted during boot.
When debugging this, I noticed that the card init was done in a seperate
workqueue which was only activated once in probe. After removing the
workqueue and calling the card init directly from probe, the OOPS went
away. It turned out this is the same OOPS which happened when removing
the card, so this seems possible now. Note: There is still a
not-understood card-removed event during boot, but at least it doesn't
crash anymore and the card will be re-probed right away.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/TODO')
-rw-r--r-- | drivers/staging/ks7010/TODO | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/TODO b/drivers/staging/ks7010/TODO index 390e821efc0b..5cbb4ca99974 100644 --- a/drivers/staging/ks7010/TODO +++ b/drivers/staging/ks7010/TODO @@ -28,7 +28,6 @@ Now the TODOs: should understand the change you submit. - drop using a config file and use an upstream technique for configuration - fix the 'card removal' event when card is inserted when booting -- driver crashes when removing the card - check what other upstream wireless mechanisms can be used instead of the custom ones here |