soc/fsl/qbman: fix issue in qman_delete_cgr_safe()
authorMadalin Bucur <[email protected]>
Wed, 14 Mar 2018 13:37:28 +0000 (08:37 -0500)
committerDavid S. Miller <[email protected]>
Wed, 14 Mar 2018 17:16:23 +0000 (13:16 -0400)
commit96f413f47677366e0ae03797409bfcc4151dbf9e
tree7af9a10f9e6cd852d54160e1615bc0fce4c380c4
parent4dcb31d4649df36297296b819437709f5407059c
soc/fsl/qbman: fix issue in qman_delete_cgr_safe()

The wait_for_completion() call in qman_delete_cgr_safe()
was triggering a scheduling while atomic bug, replacing the
kthread with a smp_call_function_single() call to fix it.

Signed-off-by: Madalin Bucur <[email protected]>
Signed-off-by: Roy Pledge <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/soc/fsl/qbman/qman.c