From: Mathias Nyman Date: Mon, 21 Sep 2015 14:46:17 +0000 (+0300) Subject: xhci: init command timeout timer earlier to avoid deleting it uninitialized X-Git-Tag: omap-for-v4.3/fixes-rc5~79^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc8e4fc0c3b5e8340bc8358990515d116a3c274c;p=pandora-kernel.git 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: Reported-by: Oliver Neukum Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed