usbd: remove workaround code
authorMinkyu Kang <mk7.kang@samsung.com>
Thu, 2 Dec 2010 04:48:28 +0000 (13:48 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 2 Dec 2010 04:48:28 +0000 (13:48 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/s5p-common/usb_downloader.c

index 2d13835..453e4f0 100644 (file)
@@ -162,8 +162,11 @@ static void usb_stop(void)
 {
 #ifdef CONFIG_MMC_ASYNC_WRITE
        /* We must wait until finish the writing */
-       if (!s5p_no_mmc_support())
-               run_command("mbr show", 0);     /* Workaround */
+       if (!s5p_no_mmc_support()) {
+               struct mmc *mmc;
+               mmc = find_mmc_device(0);
+               mmc_init(mmc);
+       }
 #endif
 #ifdef CONFIG_S5PC1XXFB
        if (!s5p_no_lcd_support()) {