From: Venkatraman S Date: Thu, 9 Aug 2012 15:06:07 +0000 (+0530) Subject: mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ X-Git-Tag: v3.7-rc1~69^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae4bf788ee9bf7c2d51b0309117d1fcccbdd50a2;p=pandora-kernel.git mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ 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 Acked-by: Felipe Balbi Signed-off-by: Chris Ball --- Reading git-diff-tree failed