]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mxs-dma: enable CLKGATE before accessing registers
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 8 Aug 2011 12:47:47 +0000 (14:47 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:46 +0000 (08:33 +0200)
commitecf8106242cc126f23e3cdca56fcfc6433415e38
treeab761d16e76a808301e15cbaf4888d8b51ef6fdf
parent57765a0e3fd14acf1cbcd48f9500457595377b2b
mxs-dma: enable CLKGATE before accessing registers

After calling mxs_dma_disable_chan() for a channel, that channel
becomes unusable because some controller registers can only be written
when the clock is enabled via CLKGATE.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mxs-dma.c