mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-08-26 18:17:07 -04:00
!45 fix IoService listener register issue
Merge pull request !45 from yuanbo/master
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
* @addtogroup Core
|
||||
* @{
|
||||
*
|
||||
* @brief Provides functions to use the HarmonyOS Driver Foundation (HDF).
|
||||
* @brief Provides functions to use the OpenHarmonyOS Driver Foundation (HDF).
|
||||
*
|
||||
* The HDF implements driver framework capabilities such as driver loading, service management, driver message model,
|
||||
* and power management.
|
||||
|
||||
@@ -799,7 +799,6 @@ int32_t HdfDeviceRegisterEventListener(struct HdfIoService *target, struct HdfDe
|
||||
if (adapter->group != NULL) {
|
||||
/* Do not bind any service in a service goup to its own thread or start the group thread. */
|
||||
ret = HdfIoServiceGroupThreadStart(adapter->group);
|
||||
DListRemove(&listener->listNode);
|
||||
OsalMutexUnlock(&adapter->mutex);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user