diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2015-01-20 19:31:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-27 20:28:50 +0300 |
commit | 054e1b4892271731453fbfa8658899050196e427 (patch) | |
tree | 605805dac28322fc99a972a8a19902b9a2df7c44 /sound/soc/codecs/arizona.h | |
parent | a6b3db2c837a2db359bf7f846346680883dbb032 (diff) | |
download | linux-054e1b4892271731453fbfa8658899050196e427.tar.xz |
ASoC: arizona: Add delay for output disable
Give the output disable sequence a chance to fully complete, otherwise
there is a danger we may remove the clock before it is finished
resulting in a pop noise. The delay for each output must be cumulative
and these are coalesced into a single delay.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/arizona.h')
-rw-r--r-- | sound/soc/codecs/arizona.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.h b/sound/soc/codecs/arizona.h index 942cfb197b6d..59b0f50b80b4 100644 --- a/sound/soc/codecs/arizona.h +++ b/sound/soc/codecs/arizona.h @@ -77,6 +77,9 @@ struct arizona_priv { int num_inputs; unsigned int in_pending; + unsigned int out_down_pending; + unsigned int out_down_delay; + unsigned int spk_ena:2; unsigned int spk_ena_pending:1; }; |