diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-05-31 14:57:42 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-06-01 10:00:47 +0200 |
commit | 98fd81cd64674545a30a4f95388f086a626d37d2 (patch) | |
tree | 24307a4cbc9ab6763d4383e3802df4143f89fac5 /drivers/usb/host/ohci-ssb.c | |
parent | d2ba8470ccfc90e0966c802632f8bb552f11143a (diff) |
drm/i915: initialize the parity work only once
This fixes an (albeit really hard to hit) race resulting in an oops:
- The parity work get scheduled.
- We re-init the irq state and call INIT_WORK again.
- The workqueue code tries to run the work item and stumbles over a
work item that should be on it's runlist.
Also initiliaze the work item unconditionally like all the others,
it's simpler.
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/usb/host/ohci-ssb.c')
0 files changed, 0 insertions, 0 deletions