Thanks for your patch submission. I looked into it and found a few problems. Attached is a patch based on yours that should be equivalent but fixes a few problems: * Don't call msleep if event has already occurred * Don't read CSR twice if not necessary (also fixed in EcEventWait) * Unused loop variable removed And same as yours: * 1 us wait added before first EC_STATUS read * A single call of msleep with 10 ms timeout is now used Please try the patch and see if it works for you. -Nate
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:12 UTC