]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
mmc: dw_mmc: Don't loop when handling an interrupt
authorMarkos Chandras <markos.chandras@imgtec.com>
Tue, 12 Mar 2013 10:53:11 +0000 (10:53 +0000)
committerChris Ball <cjb@laptop.org>
Fri, 22 Mar 2013 16:45:32 +0000 (12:45 -0400)
commit1fb5f68addde6d8b79dd7d747814aa1770e6cf21
tree4235b02a134189904e258e705d728cf6d613583d
parent63008768d2663723b6acea2f8739e1c8460da726
mmc: dw_mmc: Don't loop when handling an interrupt

There is no reason to loop when handling an interrupt. The "if" clauses
will handle all of them sequentially. This also eliminates the extra loop
we used to take with no pending interrupts and we ended up breaking out
of the while loop.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c