diff options
author | oder_chiou@realtek.com <oder_chiou@realtek.com> | 2017-07-13 13:42:20 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-07-17 16:46:41 +0200 |
commit | 173f4612690ac569d9f912a31aa69af15b84047c (patch) | |
tree | 70ff3490e000e804d502e10588ffdda042dc453b /sound/soc/codecs/rt5514-spi.h | |
parent | ASoC: rt5514: Move the auto disable DSP function to set_bias_level() (diff) | |
download | linux-173f4612690ac569d9f912a31aa69af15b84047c.tar.xz linux-173f4612690ac569d9f912a31aa69af15b84047c.zip |
ASoC: rt5514: Support the DSP recording continuously after the hotwording triggered
The patch uses the IRQ to copy the PCM data to userspace continuously after
the hotwording triggered from DSP.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5514-spi.h')
-rw-r--r-- | sound/soc/codecs/rt5514-spi.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/soc/codecs/rt5514-spi.h b/sound/soc/codecs/rt5514-spi.h index f69b1cdf2f9b..a6434ee6ff03 100644 --- a/sound/soc/codecs/rt5514-spi.h +++ b/sound/soc/codecs/rt5514-spi.h @@ -17,10 +17,9 @@ */ #define RT5514_SPI_BUF_LEN 240 -#define RT5514_BUFFER_VOICE_BASE 0x18001034 -#define RT5514_BUFFER_VOICE_LIMIT 0x18001038 -#define RT5514_BUFFER_VOICE_RP 0x1800103c -#define RT5514_BUFFER_VOICE_SIZE 0x18001040 +#define RT5514_BUFFER_VOICE_BASE 0x18000200 +#define RT5514_BUFFER_VOICE_LIMIT 0x18000204 +#define RT5514_BUFFER_VOICE_WP 0x1800020c /* SPI Command */ enum { |