]> git.karo-electronics.de Git - mv-sheeva.git/commit
mmc: omap_hsmmc: use threaded irq handler for card-detect.
authorNeilBrown <neilb@suse.de>
Fri, 30 Dec 2011 01:35:13 +0000 (12:35 +1100)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 04:58:48 +0000 (23:58 -0500)
commit7efab4f35740c63502e438886cf1e4aa3f3b800f
treed95950c98e3f363167c340d6862e3328ec4f4cdc
parent93933508ce3753b9ef1fefb75531b5b1622de03f
mmc: omap_hsmmc: use threaded irq handler for card-detect.

As the card-detect irq handler just schedules work to be done by a
thread, we can use request_threaded_irq to do much of the work for
us.  This means that interrupts which arrive by handle_nested_irq
actually work.

Reviewed-by: Felipe Balbi <balbi@ti.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Kishore Kadiyala <kishorek.kadiyala@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c