diff options
| author | Mathias Nyman <[email protected]> | 2015-09-21 14:46:17 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-09-22 05:50:45 +0000 |
| commit | cc8e4fc0c3b5e8340bc8358990515d116a3c274c (patch) | |
| tree | bd4bb2013050a6fb63a3fd19cb67e7c68e7f8f32 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | xhci: change xhci 1.0 only restrictions to support xhci 1.1 (diff) | |
| download | kernel-cc8e4fc0c3b5e8340bc8358990515d116a3c274c.tar.gz kernel-cc8e4fc0c3b5e8340bc8358990515d116a3c274c.zip | |
xhci: init command timeout timer earlier to avoid deleting it uninitialized
Don't check if timer is running with a timer_pending() before
deleting it with del_timer_sync(), this defies the whole point of
the sync part and can cause a possible race.
Instead we just want to make sure the timer is initialized early enough
before we have a chance to delete it.
Cc: <[email protected]>
Reported-by: Oliver Neukum <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
