2009-06-03 06:35:37

by Pierre Ossman

[permalink] [raw]
Subject: Re: SDIO irq handler context

On Thu, 14 May 2009 10:25:37 +0530
Kalpesh Rathod <[email protected]> wrote:

> Hi,
>
> SDIO driver irq handler runs in which context?
> It always runs in process context ?
> or
> It runs in either interrupt context or process context? If this is the case,
> in_interrupt can be used to distinguish?
>

It's run in process context as the sdio accessors sleep.

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
TigerVNC, core developer http://www.tigervnc.org

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.


Attachments:
signature.asc (198.00 B)