usb: fix spelling of words

Signed-off-by: wu <wuzhimin8@huawei.com>
This commit is contained in:
wu
2022-03-23 04:26:22 -07:00
committed by wuzhimin
parent 851450a621
commit 391b49fc2d
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;