1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-27 10:31:05 +02:00

no need to free_irq in remove, done in close

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9183 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
ejka 2007-10-08 03:40:51 +00:00
parent 9ddfc39e20
commit f68eab92c4

View File

@ -134,7 +134,7 @@ diff -Nru 1/pci.c 2/pci.c
if (ptr) { if (ptr) {
log(L_DEBUG, "%s sz=%d adr=0x%p phy=0x%08llx\n", log(L_DEBUG, "%s sz=%d adr=0x%p phy=0x%08llx\n",
@@ -4016,10 +4017,371 @@ @@ -4016,10 +4017,370 @@
return OK; return OK;
} }
@ -477,7 +477,6 @@ diff -Nru 1/pci.c 2/pci.c
+ +
+ /* remove dev registration */ + /* remove dev registration */
+ +
+ free_irq(adev->irq, adev);
+ acx_sem_unlock(adev); + acx_sem_unlock(adev);
+ vlynq_disable_device(vdev); + vlynq_disable_device(vdev);
+ +
@ -506,7 +505,7 @@ diff -Nru 1/pci.c 2/pci.c
static const struct pci_device_id acxpci_id_tbl[] __devinitdata = { static const struct pci_device_id acxpci_id_tbl[] __devinitdata = {
{ {
.vendor = PCI_VENDOR_ID_TI, .vendor = PCI_VENDOR_ID_TI,
@@ -4071,7 +4433,7 @@ @@ -4071,7 +4432,7 @@
.resume = acxpci_e_resume .resume = acxpci_e_resume
#endif /* CONFIG_PM */ #endif /* CONFIG_PM */
}; };
@ -515,7 +514,7 @@ diff -Nru 1/pci.c 2/pci.c
/*********************************************************************** /***********************************************************************
** acxpci_e_init_module ** acxpci_e_init_module
@@ -4080,7 +4442,7 @@ @@ -4080,7 +4441,7 @@
*/ */
int __init acxpci_e_init_module(void) int __init acxpci_e_init_module(void)
{ {
@ -524,7 +523,7 @@ diff -Nru 1/pci.c 2/pci.c
FN_ENTER; FN_ENTER;
@@ -4100,10 +4462,15 @@ @@ -4100,10 +4461,15 @@
#endif #endif
log(L_INIT, log(L_INIT,
"acx: " ENDIANNESS_STRING "acx: " ENDIANNESS_STRING
@ -541,7 +540,7 @@ diff -Nru 1/pci.c 2/pci.c
FN_EXIT1(res); FN_EXIT1(res);
return res; return res;
} }
@@ -4119,7 +4486,12 @@ @@ -4119,7 +4485,12 @@
{ {
FN_ENTER; FN_ENTER;