> +     cr = xiic_getreg32(i2c, XIIC_CR_REG_OFFSET);
> +     cr |= XIIC_CR_DIR_IS_TX_MASK;
> +     xiic_setreg32(i2c, XIIC_CR_REG_OFFSET, cr);
> +

Is there no need to clear the bit again when receiving? And did
transferring ever work if this bit was never set before?

Attachment: signature.asc
Description: Digital signature

Reply via email to