diff options
author | Hein Tibosch <[email protected]> | 2012-10-25 13:38:05 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-10-25 14:37:53 -0700 |
commit | d5ea7b5ec1ee4dac868143806c0bd94855754677 (patch) | |
tree | e0f1a0677b0cd27392bce3c8fec7e5ca1075f156 /tools/perf/util/trace-event-scripting.c | |
parent | 35cfa2b0b491c37e23527822bf365610dbb188e5 (diff) |
drivers/dma/dw_dmac: make driver's endianness configurable
The dw_dmac driver was originally developed for avr32 to be used with the
Synopsys DesignWare AHB DMA controller. Starting from 2.6.38, access to
the device's i/o memory was done with the little-endian readl/writel
functions(1)
This broke the driver for the avr32 platform, because it needs big
(native) endian accessors. This patch makes the endianness configurable
using 'DW_DMAC_BIG_ENDIAN_IO', which will default be true for AVR32
I submitted this patch before(2) but then waited for Andy to finish other
changes to the same module(3).
(1) https://patchwork.kernel.org/patch/608211
(2) https://lkml.org/lkml/2012/8/26/148
(3) https://lkml.org/lkml/2012/9/21/173
Signed-off-by: Hein Tibosch <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Cc: Hans-Christian Egtvedt <[email protected]>
Cc: Ludovic Desroches <[email protected]>
Cc: Havard Skinnemoen <[email protected]>
Cc: Nicolas Ferre <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions