cnss: Add new case in cnss runtime PM request feature
The cnss platform driver provides wrapper API to use the kernel runtime PM APIs in wlan host driver for runtime power management operation. Add flag for pm_runtime_get_noresume() API. CRs-Fixed: 1068920 Change-Id: I36d278bf1837b2a18f74ff52b9be9b7e5a165857 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
This commit is contained in:
parent
9e2d528dc4
commit
4d16293739
2 changed files with 4 additions and 0 deletions
|
@ -3452,6 +3452,9 @@ int cnss_pm_runtime_request(struct device *dev,
|
|||
case CNSS_PM_REQUEST_RESUME:
|
||||
ret = pm_request_resume(dev);
|
||||
break;
|
||||
case CNSS_PM_GET_NORESUME:
|
||||
pm_runtime_get_noresume(dev);
|
||||
break;
|
||||
default:
|
||||
ret = -EINVAL;
|
||||
break;
|
||||
|
|
|
@ -108,6 +108,7 @@ enum cnss_runtime_request {
|
|||
CNSS_PM_RUNTIME_PUT_NOIDLE,
|
||||
CNSS_PM_REQUEST_RESUME,
|
||||
CNSS_PM_RUNTIME_PUT_AUTO,
|
||||
CNSS_PM_GET_NORESUME,
|
||||
};
|
||||
|
||||
extern int cnss_get_fw_image(struct image_desc_info *image_desc_info);
|
||||
|
|
Loading…
Add table
Reference in a new issue