diff options
author | Bard Liao <bardliao@realtek.com> | 2017-06-29 20:07:50 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-30 12:36:38 +0100 |
commit | b059ca720e2ac04380240500eb8d8ba931898570 (patch) | |
tree | 8923e0e60aca973096ae97db142a45b179953f01 /sound/soc/codecs/rt5514.c | |
parent | 18fe7869764c0b86e8ce6539bbb6e528f1d9928f (diff) | |
download | linux-b059ca720e2ac04380240500eb8d8ba931898570.tar.bz2 |
ASoC: rt5665: calibration should be done before jack detection
We will set some volatile registers in jack detection function. But
those volatile registers will be clear in rt5665_calibrate function
because we set cache bypass and reset codec in rt5665_calibrate function.
This patch add a flag to make sure that rt5665_calibrate is done
before starting jack detection.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5514.c')
0 files changed, 0 insertions, 0 deletions