10 Dec
2020
10 Dec
'20
5:47 p.m.
On Thu, Dec 10, 2020 at 11:42 PM Mark Brown broonie@kernel.org wrote:
On Thu, Dec 10, 2020 at 11:36:17AM +0800, Tzung-Bi Shih wrote:
if (!rt1015p->calib_done) {
msleep(300);
rt1015p->calib_done = true;
}
Might we need to reset calib_done over suspend? If the device looses power I guess it forgets the calibration.
In our environment, the power VBAT and AVDD are still on even if the system suspends. In more low power mode, AVDD could probably lose.
But agree with you, in general, suppose the device needs to calibrate again after suspend/resume is better.