diff options
author | Adam Thomson <Adam.Thomson.Opensource@diasemi.com> | 2016-05-10 17:11:06 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-10 20:24:19 +0200 |
commit | 7e28fd469624fc41ec326a31abbc63a7afdd10f5 (patch) | |
tree | 00cbbdc6e6965d7279130826f8ad518bfdc77f7b /sound/soc/codecs/da7213.h | |
parent | ASoC: da7213: Add checking of SRM lock status before enabling DAI (diff) | |
download | linux-7e28fd469624fc41ec326a31abbc63a7afdd10f5.tar.xz linux-7e28fd469624fc41ec326a31abbc63a7afdd10f5.zip |
ASoC: da7213: Default PC counter to free-running when DAI disabled
Currently PC counter is always synchronised to DAI which means that
when the DAI is disabled, features such as ALC calibration cannot
be executed successfully. This patch makes sure that when the DAI
is disabled, PC counter is set to free-running.
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/da7213.h')
-rw-r--r-- | sound/soc/codecs/da7213.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/da7213.h b/sound/soc/codecs/da7213.h index af75340dea63..26b87e3c3088 100644 --- a/sound/soc/codecs/da7213.h +++ b/sound/soc/codecs/da7213.h @@ -413,6 +413,9 @@ #define DA7213_DMIC_CLK_RATE_SHIFT 2 #define DA7213_DMIC_CLK_RATE_MASK (0x1 << 2) +/* DA7213_PC_COUNT = 0x94 */ +#define DA7213_PC_FREERUN_MASK (0x1 << 0) + /* DA7213_DIG_CTRL = 0x99 */ #define DA7213_DAC_L_INV_SHIFT 3 #define DA7213_DAC_R_INV_SHIFT 7 |