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:

committed by
Vishwajith Upendra

parent
bee3aab26f
commit
cb9bc6333d
@@ -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*/
|
||||
|
Reference in New Issue
Block a user