Re: [PATCH v1 1/2] i2c: designware-pci: Add support for Fast Mode Plus and High Speed Mode

From: Wolfram Sang
Date: Mon Nov 29 2021 - 15:22:17 EST


On Tue, Nov 09, 2021 at 04:05:51PM +0530, lakshmi.sowjanya.d@xxxxxxxxx wrote:
> From: Lakshmi Sowjanya D <lakshmi.sowjanya.d@xxxxxxxxx>
>
> Add support to configure HCNT, LCNT values for Fast Mode Plus and High
> Speed Mode.
>
> Signed-off-by: Lakshmi Sowjanya D <lakshmi.sowjanya.d@xxxxxxxxx>

Applied to for-next, thanks!

> + u32 fp_lcnt;
> + u32 hs_lcnt;
> u32 sda_hold;

Short question unrelated to this patch. Why are all these u32...

> dev->ss_hcnt = cfg->ss_hcnt;
> dev->fs_hcnt = cfg->fs_hcnt;

... and the ones in dev are u16? Wouldn't it be easier if they all had
the same type?

Attachment: signature.asc
Description: PGP signature