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

Dominik Brodowski linux at dominikbrodowski.net
Mon Jul 25 13:06:57 EDT 2005


> >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.

	Dominik



More information about the linux-pcmcia mailing list