]> git.baikalelectronics.ru Git - kernel.git/commit
dma40: Improve the logic of stopping logical chan
authorNarayanan G <narayanan.gopalakrishnan@stericsson.com>
Thu, 9 Feb 2012 07:11:37 +0000 (12:41 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Mon, 23 Apr 2012 12:26:17 +0000 (17:56 +0530)
commit15312c80a4f4cb1f85c883e1d270dd314629f6e2
tree4b3ad9b496be8755fb3571593286b3144d364c7b
parent7d16f848cd3ee68484c3e2f9baeacfe7330a580d
dma40: Improve the logic of stopping logical chan

can be directly stopped by issuing a SUSPEND_REQ on the EE
bits. There is no need to suspend the physical channel and
restart it.

Also, the support for pre-V2 hw is discontinued.

EE bits for writing:

00: disable only if AS=11 or AS=00
01: enable
10: suspend_req only if AS=01 & EE=01 or EE=11
11: round / no change for writing

Signed-off-by: Narayanan G <narayanan.gopalakrishnan@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/ste_dma40.c
drivers/dma/ste_dma40_ll.h