diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-24 12:23:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-08 14:59:55 +0900 |
commit | 0671da189c1d75eec5f6aba786d57d25209dd2bc (patch) | |
tree | 698ef563e3890ec8ddd8ee8bd70ad0df88c4026c /sound/soc/soc-io.c | |
parent | be3ea3b9e8df64acb3606055c01291f0b58876a6 (diff) | |
download | blackbird-op-linux-0671da189c1d75eec5f6aba786d57d25209dd2bc.tar.gz blackbird-op-linux-0671da189c1d75eec5f6aba786d57d25209dd2bc.zip |
ASoC: Add regmap as a control type
Allow drivers to set up their own regmap API structures. This is mainly
useful with MFDs where the core driver will have set up regmap at the
minute, though it may make sense to push the existing regmap setup out
of the core into the drivers.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/soc-io.c')
-rw-r--r-- | sound/soc/soc-io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/soc-io.c b/sound/soc/soc-io.c index b56e1c4bb9e6..e471ed667fe9 100644 --- a/sound/soc/soc-io.c +++ b/sound/soc/soc-io.c @@ -132,6 +132,10 @@ int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec, &config); break; + case SND_SOC_REGMAP: + /* Device has made its own regmap arrangements */ + break; + default: return -EINVAL; } |