summaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x/dma.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-04-13 14:27:53 +0200
committerMark Brown <broonie@kernel.org>2015-04-27 16:38:23 +0200
commitb618a185ac2f0f7c95a8b4a1ab464e923f564028 (patch)
tree8a04ea22f3df85f2aea6978a2e31e0490f88d6e5 /sound/soc/au1x/dma.c
parentLinux 4.1-rc1 (diff)
downloadlinux-b618a185ac2f0f7c95a8b4a1ab464e923f564028.tar.xz
linux-b618a185ac2f0f7c95a8b4a1ab464e923f564028.zip
ASoC: wm_adsp: Split out adsp1 & 2 setup algorithms
The vast majority of the wm_adsp_setup_algs function is case statements for ADSP1 or ADSP2, this patch splits this out into two separate functions wm_adsp1_setup_algs and wm_adsp2_setup_algs. The small amount of shared code between them is factored out into an extra helper function. This makes the code a lot cleaner. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/au1x/dma.c')
0 files changed, 0 insertions, 0 deletions