From 50dd458cfd81e90448493f373072a31e9005f486 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Tue, 20 Dec 2022 16:55:16 +0200 Subject: [PATCH] bdk: ums: use emmc_end instead of sdmmc_storage_end --- bdk/usb/usb_gadget_ums.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bdk/usb/usb_gadget_ums.c b/bdk/usb/usb_gadget_ums.c index 03235c4..85ee807 100644 --- a/bdk/usb/usb_gadget_ums.c +++ b/bdk/usb/usb_gadget_ums.c @@ -1944,7 +1944,7 @@ error: exit: if (ums.lun.type == MMC_EMMC) - sdmmc_storage_end(ums.lun.storage); + emmc_end(); usb_ops.usbd_end(true, false);