Re: [PATCH 03/18] dmaengine: PL08x: Rework LLI handling to be less fragile

2013-08-28 Thread Linus Walleij
On Sun, Aug 11, 2013 at 7:59 PM, Tomasz Figa wrote: > 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

Re: [PATCH 03/18] dmaengine: PL08x: Rework LLI handling to be less fragile

2013-08-28 Thread Linus Walleij
On Sun, Aug 11, 2013 at 7:59 PM, Tomasz Figa tomasz.f...@gmail.com wrote: 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

[PATCH 03/18] dmaengine: PL08x: Rework LLI handling to be less fragile

2013-08-11 Thread Tomasz Figa
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

[PATCH 03/18] dmaengine: PL08x: Rework LLI handling to be less fragile

2013-08-11 Thread Tomasz Figa
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