[PATCH 06/11] cec: rework the cec event handling