Skip to contentSkip to conversation

ASoC: soc-cache: Ensure consistent cache naming

PATCH Applied Dimitris Papastamos 3 participants 3 messages Nov 29, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: soc-cache: Ensure consistent cache naming

---
 include/sound/soc.h   |    2 +-
 sound/soc/soc-cache.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/sound/soc.h +1 -1
index 3eb92ef..9e593cf 100644
@@ -256,7 +256,7 @@ enum snd_soc_control_type {
 };
 
 enum snd_soc_compress_type {
-	SND_SOC_NO_COMPRESSION,
+	SND_SOC_FLAT_COMPRESSION,
 	SND_SOC_LZO_COMPRESSION,
 	SND_SOC_RBTREE_COMPRESSION
 };
sound/soc/soc-cache.c +1 -1
index e5b1888..9b1ba33 100644
@@ -1520,7 +1520,7 @@ static int snd_soc_flat_cache_init(struct snd_soc_codec *codec)
 /* an array of all supported compression types */
 static const struct snd_soc_cache_ops cache_types[] = {
 	{
-		.id = SND_SOC_NO_COMPRESSION,
+		.id = SND_SOC_FLAT_COMPRESSION,
 		.init = snd_soc_flat_cache_init,
 		.exit = snd_soc_flat_cache_exit,
 		.read = snd_soc_flat_cache_read,
Signature · 1 line
1.7.3.2
Acked-by on v1 1/1
#1 lore raw
Quoted 24 lines · Dimitris Papastamos
---
 include/sound/soc.h   |    2 +-
 sound/soc/soc-cache.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/sound/soc.h +1 -1
index 3eb92ef..9e593cf 100644
@@ -256,7 +256,7 @@ enum snd_soc_control_type {
 };
 
 enum snd_soc_compress_type {
-	SND_SOC_NO_COMPRESSION,
+	SND_SOC_FLAT_COMPRESSION,
 	SND_SOC_LZO_COMPRESSION,
 	SND_SOC_RBTREE_COMPRESSION
 };
sound/soc/soc-cache.c +0 -0
index e5b1888..9b1ba33 100644

sound/soc/soc-cache.c static int snd_soc_flat_cache_init(struct snd_soc_codec *codec) · line 1526

Quoted 8 lines
sound/soc/soc-cache.c +1 -1
@@ -1520,7 +1520,7 @@ static int snd_soc_flat_cache_init(struct snd_soc_codec *codec)
 /* an array of all supported compression types */
 static const struct snd_soc_cache_ops cache_types[] = {
 	{
-		.id = SND_SOC_NO_COMPRESSION,
+		.id = SND_SOC_FLAT_COMPRESSION,
 		.init = snd_soc_flat_cache_init,
 		.exit = snd_soc_flat_cache_exit,
 		.read = snd_soc_flat_cache_read,
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk