]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_usb_mass_storage.c
karo: configs: Update the tx6*_defconfig files from defconfigs generated with 'make...
[karo-tx-uboot.git] / common / cmd_usb_mass_storage.c
index 6cfee47a346b550e8496685aefbfa0a195cd66b4..198dab15baf0335b7746a055fd1e3ecf2a2d0e70 100644 (file)
@@ -154,11 +154,12 @@ int do_usb_mass_storage(cmd_tbl_t *cmdtp, int flag,
        }
 exit:
        g_dnl_unregister();
+       board_usb_cleanup(controller_index, USB_INIT_DEVICE);
        return CMD_RET_SUCCESS;
 }
 
 U_BOOT_CMD(ums, 4, 1, do_usb_mass_storage,
-       "Use the UMS [User Mass Storage]",
+       "Use the UMS [USB Mass Storage]",
        "<USB_controller> [<devtype>] <devnum>  e.g. ums 0 mmc 0\n"
        "    devtype defaults to mmc"
 );