!306 mmc queue optimization

Merge pull request !306 from liangxuewu/mmc_op
This commit is contained in:
openharmony_ci 2022-04-02 03:15:08 +00:00 committed by Gitee
commit a9bf83f7e5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;