Hi Tony, > > An obvious fix for this would be to lift the handling for > > PIN_CONFIG_BIAS_DISABLE out of the inner loop, running that instead of > > the inner loop in that case. > > Maybe post a suggested patch for Haojian to look at? I've created a patch (will send in a followup) to do exactly this. I've compile-tested it but have not been able to runtime test it (I managed to compile and run a mainline kernel for the BBB, but ran into problems setting up the bias control devicetree). For now, I'll just leave the patch here for review, maybe I'll find some time also runtime test it in the future (but likely not). Gr. Matthijs