summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2015-09-21 17:46:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-21 22:50:45 -0700
commitcc8e4fc0c3b5e8340bc8358990515d116a3c274c (patch)
treebd4bb2013050a6fb63a3fd19cb67e7c68e7f8f32 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdca7794539eff04b786fb6907186989e5eaaa9c2 (diff)
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: <stable@vger.kernel.org> Reported-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions