aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-13 14:35:29 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-08 01:59:44 -0400
commitbe3ea3b9e8df64acb3606055c01291f0b58876a6 (patch)
treee2256f913cc23b5a0c504f947a4a0a5bcb256523 /include/sound/soc.h
parent322a8b034003c0d46d39af85bf24fee27b902f48 (diff)
ASoC: Use new register map API for ASoC generic physical I/O
Remove all the ASoC specific physical I/O code and replace it with calls into the regmap API. The bulk write code can only be used safely if all regmap calls are locked with the CODEC lock, we need to add bulk support to the regmap API or replace the code with an open coded loop (though currently it has no users...). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index aa19f5a32ba8..4d04b4b86aa1 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -19,6 +19,7 @@
19#include <linux/workqueue.h> 19#include <linux/workqueue.h>
20#include <linux/interrupt.h> 20#include <linux/interrupt.h>
21#include <linux/kernel.h> 21#include <linux/kernel.h>
22#include <linux/regmap.h>
22#include <sound/core.h> 23#include <sound/core.h>
23#include <sound/pcm.h> 24#include <sound/pcm.h>
24#include <sound/control.h> 25#include <sound/control.h>
@@ -576,6 +577,7 @@ struct snd_soc_codec {
576 const void *reg_def_copy; 577 const void *reg_def_copy;
577 const struct snd_soc_cache_ops *cache_ops; 578 const struct snd_soc_cache_ops *cache_ops;
578 struct mutex cache_rw_mutex; 579 struct mutex cache_rw_mutex;
580 int val_bytes;
579 581
580 /* dapm */ 582 /* dapm */
581 struct snd_soc_dapm_context dapm; 583 struct snd_soc_dapm_context dapm;