[PATCH 6.17 472/507] i2c: spacemit: fix detect issue