From: Andiry Xu Date: Mon, 27 Dec 2010 09:39:02 +0000 (+0800) Subject: xHCI: synchronize irq in xhci_suspend() X-Git-Tag: v2.6.38-rc3~7^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0029227f1bc30b6c809ae751f9e7af6cef900997;p=pandora-kernel.git xHCI: synchronize irq in xhci_suspend() Synchronize the interrupts instead of free them in xhci_suspend(). This will prevent a double free when the host is suspended and then the card removed. Set the flag hcd->msix_enabled when using MSI-X, and check the flag in suspend_common(). MSI-X synchronization will be handled by xhci_suspend(), and MSI/INTx will be synchronized in suspend_common(). This patch should be queued for the 2.6.37 stable tree. Reported-by: Matthew Garrett Signed-off-by: Andiry Xu Signed-off-by: Sarah Sharp Cc: stable@kernel.org --- Reading git-diff-tree failed