On May 29, Sean Nyekjaer wrote: > > > > > > > Could a solution, be to call st_lsm6dsx_reset_hw_ts() in st_lsm6dsx_resume() > > > ? > > > > yes, I think so. Could you please try to patch below? Thanks. > > > > Hi Lorenzo, > > I have tried your patch, and the timestamp seems to behave like before. > > https://gist.github.com/sknsean/959d3421f66cb49144e7841a8a08a2be > Sorry NTP have been connected for a while :) > > I will enable some more debug to trace what is happening. > > /Sean Hi Sean, thx for testing. Is the FIFO enabled before the suspend (in other words, is st_lsm6dsx_resume_fifo running in st_lsm6dsx_resume?) what is the value of sensor->ts_ref after the resume? Regards, Lorenzo
Attachment:
signature.asc
Description: PGP signature