[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cabda6420712170055j78da46c8x6af50b095e3447c0@mail.gmail.com>
Date: Mon, 17 Dec 2007 09:55:19 +0100
From: chri <chripell@...il.com>
To: "Jiri Slaby" <jirislaby@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] max3100 driver
On Dec 17, 2007 9:45 AM, Jiri Slaby <jirislaby@...il.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."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists