Skip to content
Commit 1df8fb3d authored by Sheng Yang's avatar Sheng Yang Committed by Jesse Barnes
Browse files

PCI: Fix disable IRQ 0 in pci_reset_function()



Before initialization, dev->irq may be zero. Make sure we don't disable
it at reset time in that case.

Reviewed-by: default avatarMatthew Wilcox <willy@linux.intel.com>
Signed-off-by: default avatarSheng Yang <sheng@linux.intel.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 7f0f598a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment