ASoC: Refactor WM8958 DSP to support additional algorithms

In preparation for the addition of additional WM8958 algorithms
reorganise the code to make it easier to add such support later.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
This commit is contained in:
Mark Brown
2011-03-16 20:55:37 +00:00
parent fbbf592002
commit f20d77ce26
2 changed files with 44 additions and 53 deletions

View File

@@ -116,6 +116,7 @@ struct wm8994_priv {
unsigned int aif1clk_disable:1;
unsigned int aif2clk_disable:1;
int dsp_active;
const struct firmware *cur_fw;
const struct firmware *mbc;
};