DMAENGINE: ste_dma40: only write phy channel config first time
authorLinus Walleij <linus.walleij@stericsson.com>
Sun, 20 Jun 2010 21:24:52 +0000 (21:24 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 23 Jun 2010 01:01:53 +0000 (18:01 -0700)
commitef1872ec652b3bc472d6c0995d0b64d5058878ea
tree2de7cbca0012ab6931b8321c922311f70bbb4bb0
parent941b77a3b6946dd6223a029007f695aa841b6d34
DMAENGINE: ste_dma40: only write phy channel config first time

We only need to write the configuration to a physical channel if
it is free, else it is already written.

Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ste_dma40.c
drivers/dma/ste_dma40_ll.h