diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-02-12 17:11:37 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-02-25 23:13:50 +0530 |
commit | 361deb7243d275ba8ce6e27db7727fce6fd39f3e (patch) | |
tree | 93dcc492cdddf040d0f83d73fd4980874452bf1c /sound/ac97 | |
parent | 528314b503f855b268ae7861ea4e206fbbfb8356 (diff) | |
download | linux-stable-361deb7243d275ba8ce6e27db7727fce6fd39f3e.tar.gz linux-stable-361deb7243d275ba8ce6e27db7727fce6fd39f3e.tar.bz2 linux-stable-361deb7243d275ba8ce6e27db7727fce6fd39f3e.zip |
dmaengine: dmatest: wrap src & dst data into a struct
This change wraps the data for the source & destination buffers into a
`struct dmatest_data`. The rename patterns are:
* src_cnt -> src->cnt
* dst_cnt -> dst->cnt
* src_off -> src->off
* dst_off -> dst->off
* thread->srcs -> src->aligned
* thread->usrcs -> src->raw
* thread->dsts -> dst->aligned
* thread->udsts -> dst->raw
The intent is to make a function that moves duplicate parts of the code
into common alloc & free functions, which will unclutter the
`dmatest_func()` function.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'sound/ac97')
0 files changed, 0 insertions, 0 deletions