Commit df0701bb authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by Mark Brown

ASoC: soc-cache: Ensure consistent cache naming

Signed-off-by: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 7a33d4ce
...@@ -256,7 +256,7 @@ enum snd_soc_control_type { ...@@ -256,7 +256,7 @@ enum snd_soc_control_type {
}; };
enum snd_soc_compress_type { enum snd_soc_compress_type {
SND_SOC_NO_COMPRESSION, SND_SOC_FLAT_COMPRESSION,
SND_SOC_LZO_COMPRESSION, SND_SOC_LZO_COMPRESSION,
SND_SOC_RBTREE_COMPRESSION SND_SOC_RBTREE_COMPRESSION
}; };
......
...@@ -1520,7 +1520,7 @@ static int snd_soc_flat_cache_init(struct snd_soc_codec *codec) ...@@ -1520,7 +1520,7 @@ static int snd_soc_flat_cache_init(struct snd_soc_codec *codec)
/* an array of all supported compression types */ /* an array of all supported compression types */
static const struct snd_soc_cache_ops cache_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, .init = snd_soc_flat_cache_init,
.exit = snd_soc_flat_cache_exit, .exit = snd_soc_flat_cache_exit,
.read = snd_soc_flat_cache_read, .read = snd_soc_flat_cache_read,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment