From 31bff450d243bc6a75bdfd0a60e4bc18907c7f27 Mon Sep 17 00:00:00 2001 From: Seungwon Jeon Date: Sat, 31 Aug 2013 00:14:23 +0900 Subject: [PATCH] mmc: dw_mmc: gather each reset code into functions There are three resets in CTRL register. FIFO reset is especially used in several points with the same routine. It could be replaced with one function and the others may be applied similarly if needed. So, mci_wait_reset() is modified to allow various bit field of reset. Signed-off-by: Seungwon Jeon Tested-by: Alim Akhtar Signed-off-by: Chris Ball --- Reading git-format-patch failed