summaryrefslogtreecommitdiff
path: root/staging/layer1.c
diff options
context:
space:
mode:
Diffstat (limited to 'staging/layer1.c')
0 files changed, 0 insertions, 0 deletions
.git/commit/?h=nds-private-remove&id=a0d5caeaebfd00853efa0080afc850e10be7b39a'>a0d5caeaebfd00853efa0080afc850e10be7b39a (diff)
ASoC: da7213: Add checking of SRM lock status before enabling DAI
When the codec is DAI clk slave, and the SRM feature of the PLL is being used, the enabling of the DAI should occur only after the PLL has locked to the incoming WCLK. This update adds checking to the the DAI widget event, so it waits for SRM to lock. There is also a timeout if that lock doesn't occur within a given time. Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat
-rw-r--r--sound/soc/codecs/da7213.c23
-rw-r--r--sound/soc/codecs/da7213.h4
2 files changed, 27 insertions, 0 deletions
diff --git a/sound/soc/codecs/da7213.c b/sound/soc/codecs/da7213.c