diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-18 19:17:06 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-20 13:54:34 +0000 |
commit | fed22007113cb857e917913ce016d9b539dc3a80 (patch) | |
tree | 7e5960b2770e0a661ae1abce509a53e0f857294c /sound/soc/codecs/wm8996.h | |
parent | 495174a8ffbaa0d15153d855cf206cdc46d51cf4 (diff) | |
download | linux-stable-fed22007113cb857e917913ce016d9b539dc3a80.tar.gz linux-stable-fed22007113cb857e917913ce016d9b539dc3a80.tar.bz2 linux-stable-fed22007113cb857e917913ce016d9b539dc3a80.zip |
ASoC: Disable register synchronisation for low frequency WM8996 SYSCLK
With a low frequency SYSCLK and a fast I2C clock register synchronisation
may occasionally take too long to take effect, causing I/O issues. Disable
synchronisation in order to avoid any issues.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
Diffstat (limited to 'sound/soc/codecs/wm8996.h')
-rw-r--r-- | sound/soc/codecs/wm8996.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8996.h b/sound/soc/codecs/wm8996.h index 0fde643194ce..de9ac3e44aec 100644 --- a/sound/soc/codecs/wm8996.h +++ b/sound/soc/codecs/wm8996.h @@ -1567,6 +1567,10 @@ int wm8996_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, /* * R257 (0x101) - Control Interface (1) */ +#define WM8996_REG_SYNC 0x8000 /* REG_SYNC */ +#define WM8996_REG_SYNC_MASK 0x8000 /* REG_SYNC */ +#define WM8996_REG_SYNC_SHIFT 15 /* REG_SYNC */ +#define WM8996_REG_SYNC_WIDTH 1 /* REG_SYNC */ #define WM8996_AUTO_INC 0x0004 /* AUTO_INC */ #define WM8996_AUTO_INC_MASK 0x0004 /* AUTO_INC */ #define WM8996_AUTO_INC_SHIFT 2 /* AUTO_INC */ |