mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
396a2e79cd
commit
0cc62e9263
1 changed files with 0 additions and 8 deletions
|
|
@ -27,11 +27,6 @@ struct ad193x_priv {
|
|||
int sysclk;
|
||||
};
|
||||
|
||||
/* ad193x register cache & default register settings */
|
||||
static const u8 ad193x_reg[AD193X_NUM_REGS] = {
|
||||
0, 0, 0, 0, 0, 0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0, 0, 0,
|
||||
};
|
||||
|
||||
/*
|
||||
* AD193X volume/mute/de-emphasis etc. controls
|
||||
*/
|
||||
|
|
@ -390,9 +385,6 @@ static int ad193x_probe(struct snd_soc_codec *codec)
|
|||
|
||||
static struct snd_soc_codec_driver soc_codec_dev_ad193x = {
|
||||
.probe = ad193x_probe,
|
||||
.reg_cache_default = ad193x_reg,
|
||||
.reg_cache_size = AD193X_NUM_REGS,
|
||||
.reg_word_size = sizeof(u16),
|
||||
};
|
||||
|
||||
#if defined(CONFIG_SPI_MASTER)
|
||||
|
|
|
|||
Loading…
Reference in a new issue