diff mbox

ASoC: remove cache_bypass from snd_soc_codec

Message ID 87vamfn5pe.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit a7e1149b64091ac87dfb18b177abb63ba4cbbd3d
Headers show

Commit Message

Kuninori Morimoto July 26, 2017, 5:17 a.m. UTC
From: Kuninori Morimoto <kuninori.morimoto.gx@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@renesas.com>
---
 include/sound/soc.h         | 1 -
 sound/soc/codecs/max98927.c | 1 -
 2 files changed, 2 deletions(-)
diff mbox

Patch

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,