aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-12-06 09:51:57 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-06 14:13:46 +0000
commit0d735eaa2c1d80c997fd775b679e36b80b8e85d1 (patch)
tree7bfcbe748f68808de5e598853c5d893242d5d963 /include/sound/soc.h
parentASoC: SAMSUNG: Remove duplicated snd_card on smdk_spdif (diff)
downloadlinux-dev-0d735eaa2c1d80c997fd775b679e36b80b8e85d1.tar.xz
linux-dev-0d735eaa2c1d80c997fd775b679e36b80b8e85d1.zip
ASoC: soc-cache: Add optional cache name member to snd_soc_cache_ops
Added an optional name member to snd_soc_cache_ops to enable more sensible diagnostic messages during cache init, exit and sync. Remove redundant newline in source code. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to '')
-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 4abc2f8fe77a..0a962dc42c5b 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -437,6 +437,7 @@ struct snd_soc_ops {
/* SoC cache ops */
struct snd_soc_cache_ops {
+ const char *name;
enum snd_soc_compress_type id;
int (*init)(struct snd_soc_codec *codec);
int (*exit)(struct snd_soc_codec *codec);