mirror of
https://gitee.com/openharmony/drivers_adapter_khdf_linux
synced 2024-11-23 12:50:18 +00:00
!306 mmc queue optimization
Merge pull request !306 from liangxuewu/mmc_op
This commit is contained in:
commit
a9bf83f7e5
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user