aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorScott Jiang <scott.jiang.linux@gmail.com>2011-08-12 18:04:14 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-15 09:43:49 -0400
commit0cc62e926324d4f3bd02d378baafbe73164fca35 (patch)
tree38cdf155f962f2137d8867d06e662e2ed5064e24 /sound
parent396a2e79cdbd562bf7ea48132f8d3ba8304109b2 (diff)
ASoC: ad193x: remove cache support
asoc cache layer can't support this kind of spi registers well. remove cache support and read/write registers directly Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/ad193x.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c
index f1a8be58255b..eedb6f5e5823 100644
--- a/sound/soc/codecs/ad193x.c
+++ b/sound/soc/codecs/ad193x.c
@@ -27,11 +27,6 @@ struct ad193x_priv {
27 int sysclk; 27 int sysclk;
28}; 28};
29 29
30/* ad193x register cache & default register settings */
31static const u8 ad193x_reg[AD193X_NUM_REGS] = {
32 0, 0, 0, 0, 0, 0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0, 0, 0,
33};
34
35/* 30/*
36 * AD193X volume/mute/de-emphasis etc. controls 31 * AD193X volume/mute/de-emphasis etc. controls
37 */ 32 */
@@ -390,9 +385,6 @@ static int ad193x_probe(struct snd_soc_codec *codec)
390 385
391static struct snd_soc_codec_driver soc_codec_dev_ad193x = { 386static struct snd_soc_codec_driver soc_codec_dev_ad193x = {
392 .probe = ad193x_probe, 387 .probe = ad193x_probe,
393 .reg_cache_default = ad193x_reg,
394 .reg_cache_size = AD193X_NUM_REGS,
395 .reg_word_size = sizeof(u16),
396}; 388};
397 389
398#if defined(CONFIG_SPI_MASTER) 390#if defined(CONFIG_SPI_MASTER)