drivers/staging/fsl_qbman: Disable Portal Channel IRQs
Disable portal channel IRQs to avoid them stopping QBMan from
entering idle mode. Since push mode is used in this driver these
interrupts are not needed/used.
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
(cherry picked from commit 977cf95ef173bf22b1816e7dbafcbb0f8a151133)
(cherry picked from commit 1d40832f4f
)
This commit is contained in:
parent
c40ba5e597
commit
40693b4108
|
@ -737,7 +737,12 @@ struct qman_portal *qman_create_portal(
|
|||
}
|
||||
/* Success */
|
||||
portal->config = config;
|
||||
qm_isr_disable_write(__p, 0);
|
||||
/*
|
||||
* Undisable all the IRQs except the dequeue available bits.
|
||||
* If left enabled they cause problems with sleep mode. Since
|
||||
* they are not used in push mode we can safely turn them off
|
||||
*/
|
||||
qm_isr_disable_write(__p, QM_DQAVAIL_MASK);
|
||||
qm_isr_uninhibit(__p);
|
||||
/* Write a sane SDQCR */
|
||||
qm_dqrr_sdqcr_set(__p, portal->sdqcr);
|
||||
|
|
Loading…
Reference in New Issue