Messages in this thread | | | Date | Fri, 4 Oct 2013 07:46:37 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH v2 2/3] i2c: xilinx: Set tx direction in write operation |
| |
> + 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?
[unhandled content-type:application/pgp-signature]
| |