[PATCH v6 1/2] i2c: add support for microchip fpga i2c controllers
Wolfram Sang
wsa at kernel.org
Wed Jul 6 03:32:48 PDT 2022
> I'd prefer the latter. Being called "core" is unfortunate and I
> did think about that. i2c-microchip-corei2c would have been my
> first choice but I thought the double usage of i2c would've been
> disapproved of haha
:) Well, double "i2c" is not exactly pretty but since it is the name of
that IP core...
> >> + if (idev->msg_len <= 0)
> >> + finished = true;
> >
> > How can it happen that len is < 0? Wouldn't that be an error case?
Is it to be on the safe side?
> > Have you testes SMBUS_QUICK as well?
>
> Not specifically SMBUS_QUICK, but I did test with hardware
> that uses "zero-length" messages.
Good!
> Thanks for the review :)
You are welcome.
-------------- 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-riscv/attachments/20220706/11f48b99/attachment.sig>
More information about the linux-riscv
mailing list