commit | b059ca720e2ac04380240500eb8d8ba931898570 | [log] [tgz] |
---|---|---|
author | Bard Liao <bardliao@realtek.com> | Thu Jun 29 20:07:50 2017 +0800 |
committer | Mark Brown <broonie@kernel.org> | Fri Jun 30 12:36:38 2017 +0100 |
tree | 8923e0e60aca973096ae97db142a45b179953f01 | |
parent | 18fe7869764c0b86e8ce6539bbb6e528f1d9928f [diff] |
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>