[PATCH 10/11] yenta: free_irq() on suspend.

Steven Scholz steven.scholz at imc-berlin.de
Tue Jul 26 07:22:07 EDT 2005


Dominik,

>>>Resume doesn't seem to work without.
>>>...
>>>Index: 2.6.13-rc3-git2/drivers/pcmcia/yenta_socket.c
>>>===================================================================
>>>--- 2.6.13-rc3-git2.orig/drivers/pcmcia/yenta_socket.c
>>>+++ 2.6.13-rc3-git2/drivers/pcmcia/yenta_socket.c
>>>@@ -1102,6 +1102,8 @@ static int yenta_dev_suspend (struct pci
>>>		pci_read_config_dword(dev, 17*4, &socket->saved_state[1]);
>>>		pci_disable_device(dev);
>>>
>>>+		free_irq(dev->irq, socket);
>>>+
>>
>>Is that yenta specific?
>>Or should that be done on other sockets as well?
> 
> 
> I suspect that it is needed for other sockets as well, however I haven't
> been informed of the specific aspects on why this change is necessary (a
> query on lkml by someone else in the thread where this patch appeared) went
> unanswered.

Hmm. dev->irq and socket->cb_irq means the socket irq, right? Not the irq used 
by the pcmcia card inserted?

--
Steven





More information about the linux-pcmcia mailing list