mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ
authorVenkatraman S <svenkatr@ti.com>
Thu, 9 Aug 2012 15:06:07 +0000 (20:36 +0530)
committerChris Ball <cjb@laptop.org>
Tue, 4 Sep 2012 17:58:24 +0000 (13:58 -0400)
Consolidate the duplicated code around the handling of CMD_TIMEOUT,
CMD_CRC, DATA_TIMEOUT, DATA_CRC and CARD_ERR handling into a single
function.

This generally shrinks code bloat, but is also required for implementing
software based guard timers.

Signed-off-by: Venkatraman S <svenkatr@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found