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

Steven Scholz steven.scholz at imc-berlin.de
Mon Jul 25 03:39:31 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?

--
Steven



More information about the linux-pcmcia mailing list