summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/pcwd_usb.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-01-22 17:37:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-22 17:55:13 +0100
commit0f815a0a700bc10547449bde6c106051a035a1b9 (patch)
tree15fa8225bc26d460df7e97ee056e95a51067a84b /drivers/watchdog/pcwd_usb.c
parentMerge tag 'fixes-for-v3.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadlinux-0f815a0a700bc10547449bde6c106051a035a1b9.tar.xz
linux-0f815a0a700bc10547449bde6c106051a035a1b9.zip
USB: UHCI: fix IRQ race during initialization
This patch (as1644) fixes a race that occurs during startup in uhci-hcd. If the IRQ line is shared with other devices, it's possible for the handler routine to be called before the data structures are fully initialized. The problem is fixed by adding a check to the IRQ handler routine. If the initialization hasn't finished yet, the routine will return immediately. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: Don Zickus <dzickus@redhat.com> Tested-by: "Huang, Adrian (ISS Linux TW)" <adrian.huang@hp.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/pcwd_usb.c')
0 files changed, 0 insertions, 0 deletions