ASoC: wm_adsp: Move DSP Rate controls into the codec
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Thu, 18 Jun 2015 12:43:19 +0000 (13:43 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 19 Jun 2015 10:17:23 +0000 (11:17 +0100)
commit336d0442b9f03a0389baaf09e39880fdd1873cc3
tree5328ce06b48de9eb5a35b3f49034818b6b93fba8
parent89a6192049050035cbd779d35686cbf29ca9184f
ASoC: wm_adsp: Move DSP Rate controls into the codec

The rate controls are codec-specific, it's not possible to
generically say what the range or the meaning of each control
is (or even if they exist at all) - that depends on the
particular codec.

This is currently being handled for Arizona codecs by putting
an Arizona-specific table of controls inside the wm_adsp driver.
This creates a dependency between wm_adsp and arizona.c, and is an
awkward solution if the ADSP is used in another family of codecs

Fix this by moving the Arizona-specific rate controls into the
Arizona codec drivers.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.c
sound/soc/codecs/arizona.h
sound/soc/codecs/wm2200.c
sound/soc/codecs/wm5102.c
sound/soc/codecs/wm5110.c
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h