Re: [PATCHv3] w1: omap-hdq: Simplify driver with PM runtime autosuspend
From: Tony Lindgren
Date: Mon Apr 20 2020 - 11:08:08 EST
* H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> [200417 21:04]:
> To me it looks as if reading hqd too quickly after omap_hdq_runtime_resume()
> may be part of the problem, although it is 0.4 seconds between [ 18.355163]
> and [ 18.745269]. So I am not sure about my interpretation.
>
> A different attempt for interpretation may be that trying to read the
> slave triggers omap_hdq_runtime_resume() just before doing the
> first hdq_read_byte().
Hmm so I wonder if adding msleep(100) at the end of
omap_hdq_runtime_resume() might help?
Regards,
Tony