mmc: dw_mmc: clear IDSTS register when initialize IDMAC
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 26 Apr 2013 06:35:22 +0000 (15:35 +0900)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 18:23:19 +0000 (14:23 -0400)
commitfc79a4d6dfa736672281aedbe384ece1f0044756
treefc0697bfa8c44bd7004e89636bd336e682dc76c5
parent60443712195bbcbbff9af189bdd9d2c1ef0a5cae
mmc: dw_mmc: clear IDSTS register when initialize IDMAC

If pending interrupt for IDMAC exists when initialize IDMAC, it will
call interrupt handler unnecessarily.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c