dma: ste_dma40: Maintain spinlock order while handling pause
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 23 Apr 2014 19:52:01 +0000 (21:52 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 7 May 2014 06:20:27 +0000 (11:50 +0530)
commit80245216ccbdb4b1dce4db714e0fdc692c81af6d
tree9d58e0b7371201322d986c520207fb6af157b2e8
parentc31b6ae1b4a75680765ac66d80e2e107e8bf05a0
dma: ste_dma40: Maintain spinlock order while handling pause

The runtime PM resume callback needs to be executed while holding the
spinlock, make sure to maintain this for the pause operation as well.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ste_dma40.c