mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
NTB: Schedule to receive on QP link up
Schedule to receive on QP link up, to make sure that the doorbell is properly cleared for interrupts. Signed-off-by: Allen Hubbe <[email protected]> Signed-off-by: Jon Mason <[email protected]>
This commit is contained in:
parent
260bee9451
commit
8b5a22d8f1
1 changed files with 2 additions and 0 deletions
|
|
@ -895,6 +895,8 @@ static void ntb_qp_link_work(struct work_struct *work)
|
|||
|
||||
if (qp->event_handler)
|
||||
qp->event_handler(qp->cb_data, qp->link_is_up);
|
||||
|
||||
tasklet_schedule(&qp->rxc_db_work);
|
||||
} else if (nt->link_is_up)
|
||||
schedule_delayed_work(&qp->link_work,
|
||||
msecs_to_jiffies(NTB_LINK_DOWN_TIMEOUT));
|
||||
|
|
|
|||
Loading…
Reference in a new issue