projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide: fix ide_intr() for non-PCI devices and CONFIG_BLK_DEV_IDEPCI=y
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
ide
/
ide-io.c
diff --git
a/drivers/ide/ide-io.c
b/drivers/ide/ide-io.c
index e6bb9cf24e3d8f3fcbd599319fb693fdfe497019..4bddef0c0b965b341c5c96a16bc9d5d036ce9efc 100644
(file)
--- a/
drivers/ide/ide-io.c
+++ b/
drivers/ide/ide-io.c
@@
-1487,7
+1487,7
@@
irqreturn_t ide_intr (int irq, void *dev_id)
* remove all the ifdef PCI crap
*/
#ifdef CONFIG_BLK_DEV_IDEPCI
- if (hwif->
pci_dev && !hwif->pci_dev->vendor
)
+ if (hwif->
chipset != ide_pci
)
#endif /* CONFIG_BLK_DEV_IDEPCI */
{
/*