aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
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 /sound/soc/soc-core.c
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--sound/soc/soc-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 822bd3bcf148..a90e067fb0ab 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1742,8 +1742,6 @@ static int snd_soc_init_codec_cache(struct snd_soc_codec *codec,
/* override the compress_type if necessary */
if (compress_type && codec->compress_type != compress_type)
codec->compress_type = compress_type;
- dev_dbg(codec->dev, "Cache compress_type for %s is %d\n",
- codec->name, codec->compress_type);
ret = snd_soc_cache_init(codec);
if (ret < 0) {
dev_err(codec->dev, "Failed to set cache compression type: %d\n",
@@ -1754,7 +1752,6 @@ static int snd_soc_init_codec_cache(struct snd_soc_codec *codec,
return 0;
}
-
static void snd_soc_instantiate_card(struct snd_soc_card *card)
{
struct platform_device *pdev = to_platform_device(card->dev);