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>
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;
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);