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, 11 Feb 2013 18:28:45 +0000 (13:28 -0500)
commit8af5075088a0aaa64caed5ed212b485b5760bf0b
tree5d636a3b625bf7a998a21b66f8ec63632de4f4da
parente475b2702f612901772d12110614ad8c3fb5d89b
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