Re: [PATCH v10 0/8] i2c-atr and FPDLink

From: Tomi Valkeinen
Date: Thu Feb 23 2023 - 03:19:58 EST


On 22/02/2023 16:17, Andy Shevchenko wrote:
On Wed, Feb 22, 2023 at 04:15:50PM +0200, Andy Shevchenko wrote:
On Wed, Feb 22, 2023 at 03:28:59PM +0200, Tomi Valkeinen wrote:
Hi,

You can find v9 from:

https://lore.kernel.org/all/20230216140747.445477-1-tomi.valkeinen@xxxxxxxxxxxxxxxx/

Diff to v9 included below.

Main changes in v10:
- Switch pre-increments to post-increments
- Add macros for FPD3_RX_ID lengths
- Use regmap_bulk_read in 16 bit reg accessors

Thanks!
I have no more remarks, nice job!

One thing below to just look at and if you want / have time / chance update.

...

+ ret = regmap_bulk_read(priv->regmap, reg, &__v, 2);

sizeof()

...

+ ret = regmap_bulk_read(priv->regmap, reg, &__v, 2);

Ditto.

Here is a formal tag for patches 1, 2, 6, 7, and 8
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Thanks for the thorough reviews!

I'll do the changes above.

I also got kernel test bot mails about the "ID '%.*s'\n" printks (have to typecast the sizeof to int), which I also need to fix.

Tomi