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)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 Jan 2012 15:09:47 +0000 (17:09 +0200)
commitadfef33c8b351697ab1998c7f579c2a037092764
tree6efdb70a3926665d02935716d6633a207feb88b0
parent9caa6a07e10157a5d5166df1925061c0dff3f750
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