10 Dec
2020
10 Dec
'20
7:20 p.m.
On Fri, Dec 11, 2020 at 12:47:47AM +0800, Tzung-Bi Shih wrote:
On Thu, Dec 10, 2020 at 11:42 PM Mark Brown broonie@kernel.org wrote:
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.
Yeah, even on that system there might be a problem if the system goes into hibernate instead of suspend (especially if it hibernates due to running out of battery!).