qcacmn: Update driver timer APIs according to kernel 4.19

There are some changes to timer APIs in latest kernel,
update driver APIs accordingly to invoke correct kernel
APIs for timer functionalities.

Change-Id: Ie017c8b1ef8237ca34f696c23509519a1187167c
CRs-fixed: 2383574
This commit is contained in:
Ashish Kumar Dhanotiya 2019-01-17 20:43:53 +05:30 • committed by nshrivas
commit ad85c38928
6 changed files with 69 additions and 32 deletions

View file

@ -323,11 +323,11 @@ QDF_STATUS scheduler_deregister_wma_legacy_handler(void);
/**
* scheduler_mc_timer_callback() - timer callback, gets called at time out
* @data: unsigned long, holds the timer object.
* @timer: holds the mc timer object.
*
* Return: None
*/
void scheduler_mc_timer_callback(unsigned long data);
void scheduler_mc_timer_callback(qdf_mc_timer_t *timer);
/**
* scheduler_get_queue_size() - Get the current size of the scheduler queue

View file

@ -569,9 +569,8 @@ static QDF_STATUS scheduler_msg_flush_noop(struct scheduler_msg *msg)
return QDF_STATUS_SUCCESS;
}
void scheduler_mc_timer_callback(unsigned long data)
void scheduler_mc_timer_callback(qdf_mc_timer_t *timer)
{
qdf_mc_timer_t *timer = (qdf_mc_timer_t *)data;
struct scheduler_msg msg = {0};
QDF_STATUS status;