On Fri, Mar 22, 2024 at 08:24:19AM +0200, Tony Lindgren wrote: > * Matthijs Kooijman <matthijs@xxxxxxxx> [240319 11:05]: > > 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. > > OK great thanks! > > > 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). > > OK > > Regards, > > Tony Thanks. I'm fine on this patch. Best Regards Haojian