mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-08-26 18:17:07 -04:00
fixed 38f8133 from https://gitee.com/zhiminwu123/drivers_framework/pulls/818
usb: fix spelling of words Signed-off-by: wu <wuzhimin8@huawei.com>
This commit is contained in:
@@ -109,7 +109,7 @@ static bool UsbDdkPnpLoaderMatchDevice(const struct UsbPnpNotifyMatchInfoTable *
|
||||
return true;
|
||||
}
|
||||
|
||||
// Need optimize this device object array later, should bind device object to usb deivce
|
||||
// Need optimize this device object array later, should bind device object to usb device
|
||||
#define REGISTER_DEV_MAX 16
|
||||
static struct HdfDeviceObject *g_resistedDevice[REGISTER_DEV_MAX] = {0};
|
||||
static int32_t SaveRegistedDevice(struct HdfDeviceObject *dev)
|
||||
|
||||
@@ -636,7 +636,7 @@ int32_t UsbFnDviceTestGetProp002(void)
|
||||
HDF_LOGE("%s: ctrlIface.fn is invail", __func__);
|
||||
return HDF_FAILURE;
|
||||
}
|
||||
ret = UsbFnGetInterfaceProp(g_acmDevice->ctrlIface.fn, "unkown", buff);
|
||||
ret = UsbFnGetInterfaceProp(g_acmDevice->ctrlIface.fn, "unknown", buff);
|
||||
if (HDF_SUCCESS == ret) {
|
||||
HDF_LOGE("%s: Get Prop success!!", __func__);
|
||||
return HDF_FAILURE;
|
||||
@@ -768,7 +768,7 @@ int32_t UsbFnDviceTestSetProp002(void)
|
||||
HDF_LOGE("%s: ctrlIface.fn is invail", __func__);
|
||||
return HDF_FAILURE;
|
||||
}
|
||||
ret = UsbFnSetInterfaceProp(g_acmDevice->ctrlIface.fn, "unkown", "hello");
|
||||
ret = UsbFnSetInterfaceProp(g_acmDevice->ctrlIface.fn, "unknown", "hello");
|
||||
if (HDF_SUCCESS == ret) {
|
||||
HDF_LOGE("%s: Set Prop success!!", __func__);
|
||||
return HDF_FAILURE;
|
||||
|
||||
@@ -85,7 +85,7 @@ int32_t UsbStartIo(void)
|
||||
printf("%s start\n", __func__);
|
||||
g_stopIoThreadFlag = false;
|
||||
|
||||
/* creat Io thread */
|
||||
/* create Io thread */
|
||||
(void)memset_s(&threadCfg, sizeof(threadCfg), 0, sizeof(threadCfg));
|
||||
threadCfg.name = (char *)("usb io thread");
|
||||
threadCfg.priority = OSAL_THREAD_PRI_LOW;
|
||||
|
||||
Reference in New Issue
Block a user