[PATCH v2 2/2] i2c: iproc: add slave pec support
Wolfram Sang
wsa at kernel.org
Thu Jul 23 16:20:53 EDT 2020
> + /* Enable partial slave HW PEC support if requested by the client */
> + iproc_i2c->en_s_pec = !!(slave->flags & I2C_CLIENT_PEC);
> + if (iproc_i2c->en_s_pec)
> + dev_info(iproc_i2c->device, "Enable PEC\n");
Where do you set the I2C_CLIENT_PEC flag for the slave? Is your backend
code publicly available?
I may need a second thought here, but I am not sure I2C_CLIENT_PEC is
the right way to enable PEC. Isn't it actually depending on the backend
if PEC is needed? I.e. is the backend an I2C device or an SMBus device?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200723/520424a7/attachment.sig>
More information about the linux-arm-kernel
mailing list