mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
qcacmn: Add new WMI API to check target suspend status
Add new WMI API to check target suspend status Change-Id: Ie4ba55fc3db2d8de7354377b26325d3510a1e228 CRs-Fixed: 2425368
This commit is contained in:
parent
bb69cfaeda
commit
eb5bf8cfc7
2 changed files with 23 additions and 0 deletions
|
|
@ -375,6 +375,16 @@ int wmi_get_pending_cmds(wmi_unified_t wmi_handle);
|
|||
*/
|
||||
void wmi_set_target_suspend(wmi_unified_t wmi_handle, bool val);
|
||||
|
||||
/**
|
||||
* wmi_is_target_suspended() - WMI API to check target suspend state
|
||||
* @wmi_handle: handle to WMI.
|
||||
*
|
||||
* WMI API to check target suspend state
|
||||
*
|
||||
* Return: true if target is suspended, else false.
|
||||
*/
|
||||
bool wmi_is_target_suspended(struct wmi_unified *wmi_handle);
|
||||
|
||||
/**
|
||||
* WMI API to set bus suspend state
|
||||
* @param wmi_handle: handle to WMI.
|
||||
|
|
|
|||
Loading…
Reference in a new issue