qcacmn: Configure the wakeup sources for the snoc bus

Need to register the device as a wakeup source and configure
the corect interrupt as a wakeup source for the snoc bus.

Change-Id: I2afcd69a8308183e141d7560a225a3b48d0e9f55
CRs-Fixed: 1051968
This commit is contained in:
Houston Hoffman
2016-08-08 21:46:55 -07:00
committed by Vishwajith Upendra
parent bee3aab26f
commit cb9bc6333d
5 changed files with 121 additions and 4 deletions

View File

@@ -421,4 +421,17 @@ int qdf_get_cpu(void)
return __qdf_get_cpu();
}
/**
* qdf_device_init_wakeup() - allow a device to wake up the aps system
* @qdf_dev: the qdf device context
* @enable: enable/disable the device as a wakup source
*
* Return: 0 or errno
*/
static inline int qdf_device_init_wakeup(qdf_device_t qdf_dev, bool enable)
{
return __qdf_device_init_wakeup(qdf_dev, enable);
}
#endif /*_QDF_UTIL_H*/