[alsa-devel] [PATCH] ASoC: remove cache_bypass from snd_soc_codec
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Wed Jul 26 07:17:08 CEST 2017
From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
snd_soc_codec .cache_bypass related operation code has been removed.
Let's remove remaining code.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
include/sound/soc.h | 1 -
sound/soc/codecs/max98927.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index dfc6dae..436fa0e 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -900,7 +900,6 @@ struct snd_soc_codec {
struct list_head list;
/* runtime */
- unsigned int cache_bypass:1; /* Suppress access to the cache */
unsigned int cache_init:1; /* codec cache has been initialized */
/* codec IO */
diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c
index b5ee294..b0380b5 100644
--- a/sound/soc/codecs/max98927.c
+++ b/sound/soc/codecs/max98927.c
@@ -577,7 +577,6 @@ static int max98927_probe(struct snd_soc_codec *codec)
max98927->codec = codec;
codec->control_data = max98927->regmap;
- codec->cache_bypass = 1;
/* Software Reset */
regmap_write(max98927->regmap,
--
1.9.1
More information about the Alsa-devel
mailing list