syao I have slight idea why this might cause issue. Can you please make final check - checkout latest master and just revert this commit. If CEC still works, you or me can open PR with this commit reverted. Thank you very much for digging into it.
jernej I can confirm that reverting commit 4f456fe668 CEC is ok also with latest master