[PATCH 14/64] i2c: cpm: reword according to newest specification

Andi Shyti andi.shyti at kernel.org
Thu Apr 11 01:25:31 AEST 2024


> > >  	out_8(&cpm->i2c_reg->i2mod, 0x00);
> > > -	out_8(&cpm->i2c_reg->i2com, I2COM_MASTER);	/* Master mode */
> > > +	out_8(&cpm->i2c_reg->i2com, I2COM_MASTER);	/* Host mode */
> > 
> > I2COM_MASTER might be coming from the datasheet.
> 
> Maybe we can just drop the comment? The value we write is pretty
> self-explaining.

indeed.

Andi


More information about the Linuxppc-dev mailing list