diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2013-08-11 21:59:15 +0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-09-02 10:19:56 +0400 |
commit | ba6785ffc85bcf967b0646f4e8b9b13fdbad3254 (patch) | |
tree | f34a53c16eba8d9ab5094ba4247977d041b144a7 /drivers/regulator/isl6271a-regulator.c | |
parent | d86ccea79485fcc637d3a69fdf6ebe90094da307 (diff) | |
download | linux-ba6785ffc85bcf967b0646f4e8b9b13fdbad3254.tar.xz |
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 <linus.walleij@linaro.org>
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/regulator/isl6271a-regulator.c')
0 files changed, 0 insertions, 0 deletions