diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2010-12-06 04:51:57 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-06 09:13:46 -0500 |
commit | 0d735eaa2c1d80c997fd775b679e36b80b8e85d1 (patch) | |
tree | 7bfcbe748f68808de5e598853c5d893242d5d963 /include/sound/soc.h | |
parent | 9545cd85a6dd1cce793b309800d2a03af9a886a8 (diff) |
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 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 1 |
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 { | |||
437 | 437 | ||
438 | /* SoC cache ops */ | 438 | /* SoC cache ops */ |
439 | struct snd_soc_cache_ops { | 439 | struct snd_soc_cache_ops { |
440 | const char *name; | ||
440 | enum snd_soc_compress_type id; | 441 | enum snd_soc_compress_type id; |
441 | int (*init)(struct snd_soc_codec *codec); | 442 | int (*init)(struct snd_soc_codec *codec); |
442 | int (*exit)(struct snd_soc_codec *codec); | 443 | int (*exit)(struct snd_soc_codec *codec); |