From f2206ad7b64c11c4e13d46bd8155a70f99b0f8d3 Mon Sep 17 00:00:00 2001 From: lzl Date: Thu, 31 Mar 2022 02:12:16 +0000 Subject: [PATCH] mmc queue optimization Signed-off-by: lzl --- model/storage/emmc_adapter.c | 2 +- model/storage/sdio_adapter.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/model/storage/emmc_adapter.c b/model/storage/emmc_adapter.c index 0c7f449..15451f2 100644 --- a/model/storage/emmc_adapter.c +++ b/model/storage/emmc_adapter.c @@ -140,7 +140,7 @@ static int32_t LinuxEmmcBind(struct HdfDeviceObject *obj) } cntlr->priv = (void *)GetMmcHost((int32_t)cntlr->index); - ret = MmcCntlrAdd(cntlr); + ret = MmcCntlrAdd(cntlr, false); if (ret != HDF_SUCCESS) { HDF_LOGE("LinuxEmmcBind: cntlr add fail."); goto _ERR; diff --git a/model/storage/sdio_adapter.c b/model/storage/sdio_adapter.c index 735594d..dba68a2 100644 --- a/model/storage/sdio_adapter.c +++ b/model/storage/sdio_adapter.c @@ -555,7 +555,7 @@ static int32_t LinuxSdioBind(struct HdfDeviceObject *obj) goto _ERR; } - ret = MmcCntlrAdd(cntlr); + ret = MmcCntlrAdd(cntlr, false); if (ret != HDF_SUCCESS) { HDF_LOGE("LinuxSdioBind: cntlr add fail."); goto _ERR; -- Gitee