diff options
author | Tomasz Figa <[email protected]> | 2013-08-11 19:59:15 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2013-09-02 11:49:56 +0530 |
commit | ba6785ffc85bcf967b0646f4e8b9b13fdbad3254 (patch) | |
tree | f34a53c16eba8d9ab5094ba4247977d041b144a7 /fs/btrfs/dev-replace.c | |
parent | d86ccea79485fcc637d3a69fdf6ebe90094da307 (diff) |
dmaengine: PL08x: Rework LLI handling to be less fragile
Currently memory allocated for LLIs is casted to an array of structs,
which is fragile and also limits the driver to a single, predefined LLI
layout, while there are some variants of PL08x, which have more fields
in LLI (namely PL080S with its extra CCTL2).
This patch makes LLIs a sequence of 32-bit words, which is just filled
with appropriate values in appropriate order and padded with required
amount of dummy words (currently zero, but PL080S will make better use
of this).
Suggested-by: Linus Walleij <[email protected]>
Signed-off-by: Tomasz Figa <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions