]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw_dma: fix endianess for DT xlate function
authorArnd Bergmann <arnd@arndb.de>
Sun, 3 Mar 2013 20:51:28 +0000 (20:51 +0000)
committerVinod Koul <vinod.koul@intel.com>
Fri, 29 Mar 2013 23:04:07 +0000 (04:34 +0530)
commit9ed3719ca817b187a4218ff15f8544d0d4ac31a5
tree13f29ee3560d019ae3b7dcec555dc05604f1636d
parentc1901efe839bce81e91af22e4670dea219e20b1a
dmaengine: dw_dma: fix endianess for DT xlate function

As reported by Wu Fengguang's build robot tracking sparse warnings, the
dma_spec arguments in the dw_dma_xlate are already byte swapped on
little-endian platforms and must not get swapped again. This code is
currently not used anywhere, but will be used in Linux 3.10 when the
ARM SPEAr platform starts using the generic DMA DT binding.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw_dmac.c