dma/imx-sdma: call sdma_set_channel_priority after sdma_request_channel
authorRichard Zhao <richard.zhao@linaro.org>
Fri, 13 Jan 2012 03:09:58 +0000 (11:09 +0800)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 31 Jan 2012 03:33:16 +0000 (09:03 +0530)
commit3bb5e7caf9641b6a532a55cf3a3621ef814f57ee
treeab9738fc92b7ea230252f08c331e1255cb132b32
parentc4b56857d17540e8085a04ea479b0239f4ee764c
dma/imx-sdma: call sdma_set_channel_priority after sdma_request_channel

sdma_request_channel sets the default priority. sdma_alloc_chan_resources
should call sdma_set_channel_priority thereafter to over write it.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/imx-sdma.c