diff options
author | Mans Rullgard <mans@mansr.com> | 2016-03-18 16:24:43 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-04-13 21:36:10 +0530 |
commit | df1f3a2305d72cbf470758999785f08bcd642d5d (patch) | |
tree | e8af88f6543cad5d375fa7b8eb8058a269dae306 /crypto/sha256_generic.c | |
parent | bb3450ad0ed618fda84fbd2e28065bd7791fd7f9 (diff) | |
download | blackbird-op-linux-df1f3a2305d72cbf470758999785f08bcd642d5d.tar.gz blackbird-op-linux-df1f3a2305d72cbf470758999785f08bcd642d5d.zip |
dmaengine: dw: fix byte order of hw descriptor fields
If the DMA controller uses a different byte order than the host CPU,
the hardware linked list descriptor fields need to be byte-swapped.
This patch makes the driver write these fields using the same byte
order it uses for mmio accesses to the DMA engine. I do not know
if this is guaranteed to always be correct.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions