mmc: sh-mmcif: simplify IRQ processing
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 12 Dec 2012 14:45:14 +0000 (15:45 +0100)
committerChris Ball <cjb@laptop.org>
Mon, 28 Jan 2013 11:51:33 +0000 (06:51 -0500)
commitaa11d6d892c9cf0170865fadbce04d558d359d1a
tree6f6f92cb309d9d455622f3451b1b4875066ba330
parent30e531a5457117070fe9ac53610a0f0b0b217f81
mmc: sh-mmcif: simplify IRQ processing

The classical way to process IRQs is read out the status, ack all triggered
IRQs, possibly mask them, then process them. Follow this simple procesure
instead of the current complex custom algorithm.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c