Hi All, Here is a patch series which fixes an AB BA lock inversion between thr tcpm code and alt-mode drivers (seen with the display-port alt-mode driver). The actual fix is in patch 5. I could have just done an unlock before and a re-lock after all the troublesome typec_altmode_foo(adev, ...) calls, but I've done some reshuffling in patches 1-4 to make it clearer that when the unlock happens we are really done with the port-state so it is ok to unlock then. Patch 6 is a bonus patch which adds an extra sanity check (WARN_ON) for a potential issue which I noticed while working on this. Regards, Hans