dmaengine: ste_dma40: Separate Logical Global Interrupt Mask (GIM) unmasking
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:24 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:13:16 +0000 (21:13 +0200)
commit9778256b9810d2c758a7537a43825b7d81b5765f
tree9ba29bee17259a3ce1784733a68b0119c2c39f4a
parent252f27b0f21a875601ced115893f34f37e37ecbf
dmaengine: ste_dma40: Separate Logical Global Interrupt Mask (GIM) unmasking

During the initial setup of a logical channel, it is necessary to unmask
the GIM in order to receive generated terminal count and error interrupts.
We're separating out this required code so it will be possible to move
the remaining code in d40_phy_cfg(), which is mostly runtime configuration
into the runtime_config() routine.

Cc: Dan Williams <djbw@fb.com>
Cc: Per Forlin <per.forlin@stericsson.com>
Cc: Rabin Vincent <rabin@rab.in>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/dma/ste_dma40.c
drivers/dma/ste_dma40_ll.c