OSDN Git Service

soc/fsl/qbman: Disable IRQs for deferred QBMan work
authorRoy Pledge <roy.pledge@nxp.com>
Mon, 17 Apr 2017 20:55:19 +0000 (16:55 -0400)
committerScott Wood <oss@buserror.net>
Sun, 30 Apr 2017 07:02:46 +0000 (02:02 -0500)
commite21c7316d8ddcf1fd679591d1427e937999a7cf5
treea2d85a19264546a61c2a8f4334ae0aca76b5c363
parent4ba251626ff1ac3447f9a05ecfcec7f85b6c8a91
soc/fsl/qbman: Disable IRQs for deferred QBMan work

Work for Congestion State Notifications (CSCN) and Message Ring (MR)
handling is handled via the workqueue mechanism. This requires the
driver to disable those IRQs before scheduling the work and re-enabling
it once the work is completed so that the interrupt doesn't continually
fire.

Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/qman.c