dmaengine/ste_dma40: clear LNK on channel startup
authorRabin Vincent <rabin.vincent@stericsson.com>
Wed, 28 Dec 2011 05:57:40 +0000 (11:27 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Mon, 2 Jan 2012 11:12:44 +0000 (16:42 +0530)
commite9f3a49c9698da6f6b606d5e048ddce308438763
tree37e3e7ce0501054fa1669709c6e941c9cd115cad
parent8730790b971d747dd4508d22fbc1a4f9422c2803
dmaengine/ste_dma40: clear LNK on channel startup

Otherwise if a previously physical channel is used as a logical channel, the
LNK may have old values which affect the operation of the logical channel since
the LNK register has different semantics between physical and logical channels.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
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