CEC problem with Kodi

I’ve found a workaround for use CEC with Krypton version: if i disable CEC from samsung menu and the renable it works correctly