author | Markos Chandras <markos.chandras@imgtec.com> | |
Tue, 12 Mar 2013 10:53:11 +0000 (10:53 +0000) | ||
committer | Chris Ball <cjb@laptop.org> | |
Fri, 22 Mar 2013 16:45:32 +0000 (12:45 -0400) | ||
commit | 1fb5f68addde6d8b79dd7d747814aa1770e6cf21 | |
tree | 4235b02a134189904e258e705d728cf6d613583d | tree | snapshot (tar.xz tar.gz zip) |
parent | 63008768d2663723b6acea2f8739e1c8460da726 | commit | diff |
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>
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 | diff | blob | history |