]> Git Repo - linux.git/commit - sound/soc/codecs/wm_adsp.c
ASoC: wm_adsp: Split out adsp1 & 2 setup algorithms
authorCharles Keepax <[email protected]>
Mon, 13 Apr 2015 12:27:53 +0000 (13:27 +0100)
committerMark Brown <[email protected]>
Mon, 27 Apr 2015 14:38:23 +0000 (15:38 +0100)
commitb618a185ac2f0f7c95a8b4a1ab464e923f564028
tree8a04ea22f3df85f2aea6978a2e31e0490f88d6e5
parentb787f68c36d49bb1d9236f403813641efa74a031
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/wm_adsp.c
This page took 0.042855 seconds and 4 git commands to generate.