diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2014-08-28 07:07:11 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-28 14:05:57 -0400 |
commit | b792346fa8660a22a06f118cebe47709f507914f (patch) | |
tree | 123d8a8f0e8c4fa132d554b55458398230329100 | |
parent | 5819c2fa55d4a6eaf7fe025a393dce98fc4b2116 (diff) |
ASoC: Remove unused cache_only from struct snd_soc_codec
There are no real users for cache_only in "struct snd_soc_codec" so remove
it and needless debugfs node.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | include/sound/soc.h | 1 | ||||
-rw-r--r-- | sound/soc/soc-core.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index edbb0d72ab38..ce09302bfd6d 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -792,7 +792,6 @@ struct snd_soc_codec { | |||
792 | unsigned int ac97_registered:1; /* Codec has been AC97 registered */ | 792 | unsigned int ac97_registered:1; /* Codec has been AC97 registered */ |
793 | unsigned int ac97_created:1; /* Codec has been created by SoC */ | 793 | unsigned int ac97_created:1; /* Codec has been created by SoC */ |
794 | unsigned int cache_init:1; /* codec cache has been initialized */ | 794 | unsigned int cache_init:1; /* codec cache has been initialized */ |
795 | u32 cache_only; /* Suppress writes to hardware */ | ||
796 | u32 cache_sync; /* Cache needs to be synced to hardware */ | 795 | u32 cache_sync; /* Cache needs to be synced to hardware */ |
797 | 796 | ||
798 | /* codec IO */ | 797 | /* codec IO */ |
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 419682693886..1b422c5c36c8 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -311,8 +311,6 @@ static void soc_init_codec_debugfs(struct snd_soc_component *component) | |||
311 | 311 | ||
312 | debugfs_create_bool("cache_sync", 0444, codec->component.debugfs_root, | 312 | debugfs_create_bool("cache_sync", 0444, codec->component.debugfs_root, |
313 | &codec->cache_sync); | 313 | &codec->cache_sync); |
314 | debugfs_create_bool("cache_only", 0444, codec->component.debugfs_root, | ||
315 | &codec->cache_only); | ||
316 | 314 | ||
317 | codec->debugfs_reg = debugfs_create_file("codec_reg", 0644, | 315 | codec->debugfs_reg = debugfs_create_file("codec_reg", 0644, |
318 | codec->component.debugfs_root, | 316 | codec->component.debugfs_root, |