karo: tx6ul: rework I2C recovery routine to be more generic