mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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:
parent
0a46a191fa
commit
ad85c38928
6 changed files with 69 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue