Messages in this thread | | | Date | Mon, 17 Dec 2007 09:55:19 +0100 | From | chri <> | Subject | Re: [PATCH] max3100 driver |
| |
On Dec 17, 2007 9:45 AM, Jiri Slaby <jirislaby@gmail.com> wrote: > > You probably wanted to unregister it after _all_ cards are removed, not after > each... >
Hi,
thanks you are right. I haven't noticed this since spi devices are not hot-pluggable so I could remove them only with rmmod (and so all of them toghether). Anyway the code I sent is ugly, I will correct and resend.
> > Also you should synchronize_irq() after stopping them here. >
I see. I guess I will have problems on suspending with serial activity otherwise.
Thanks,
-- Christian Pellegrin, see http://www.evolware.org/chri/ "Real Programmers don't play tennis, or any other sport which requires you to change clothes. Mountain climbing is OK, and Real Programmers wear their climbing boots to work in case a mountain should suddenly spring up in the middle of the computer room."
| |