summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-07-24 12:23:37 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-08 14:59:55 +0900
commit0671da189c1d75eec5f6aba786d57d25209dd2bc (patch)
tree698ef563e3890ec8ddd8ee8bd70ad0df88c4026c /include/sound
parentbe3ea3b9e8df64acb3606055c01291f0b58876a6 (diff)
downloadlinux-0671da189c1d75eec5f6aba786d57d25209dd2bc.tar.bz2
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 'include/sound')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 4d04b4b86aa1..d02269437de3 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -261,6 +261,7 @@ extern struct snd_ac97_bus_ops soc_ac97_ops;
enum snd_soc_control_type {
SND_SOC_I2C = 1,
SND_SOC_SPI,
+ SND_SOC_REGMAP,
};
enum snd_soc_compress_type {