qcacmn: Add new WMI API to unregister event handler
Add new API to unregister event handler to allow converged components to move to common eventid space. Change-Id: I97f096ff3e36bc7923718498c535fb6c3c50e7e7 CRs-Fixed: 2023157
This commit is contained in:

committed by
Sandeep Puligilla

parent
61e4f4cebe
commit
070cd05c94
@@ -220,6 +220,17 @@ wmi_unified_register_event_handler(wmi_unified_t wmi_handle,
|
||||
wmi_unified_event_handler handler_func,
|
||||
uint8_t rx_ctx);
|
||||
|
||||
/**
|
||||
* WMI event handler unregister function for converged componets
|
||||
*
|
||||
* @param wmi_handle : handle to WMI.
|
||||
* @param event_id : WMI event ID
|
||||
* @return 0 on success and -ve on failure.
|
||||
*/
|
||||
int
|
||||
wmi_unified_unregister_event(wmi_unified_t wmi_handle,
|
||||
uint32_t event_id);
|
||||
|
||||
/**
|
||||
* WMI event handler unregister function
|
||||
*
|
||||
|
Reference in New Issue
Block a user