Re: [PATCH v1 9/9] i2c: designware: Fix spelling and other issues in the comments

From: Andi Shyti
Date: Mon Aug 07 2023 - 11:04:23 EST


On Mon, Aug 07, 2023 at 05:37:28PM +0300, Andy Shevchenko wrote:
> On Fri, Aug 04, 2023 at 11:41:57PM +0200, Andi Shyti wrote:
>
> ...
>
> > > @@ -210,12 +210,12 @@ static void psp_release_i2c_bus(void)
> > > {
> > > mutex_lock(&psp_i2c_access_mutex);
> > >
> > > - /* Return early if mailbox was malfunctional */
> > > + /* Return early if mailbox was malfunctioned */
> >
> > I think "was malfunctioned" is not really correct... maybe "has
> > malfunctioned"? "is malfunctioning"?
>
> I first stumbled over this, but than I read the function name...
> I guess they are correct. So I think I need to drop this hunk.

"malfunctional" actually doesn't exist as a word. I think this is
correct:

"Return early if the mailbox is malfunctioning"

> ...
>
> > > - * transfer supported by the driver (for 400KHz this is
> > > + * transfer supported by the driver (for 400kHz this is
> >
> > what did you change here? :)
>
> Proper units. k is the official SI prefix for KILO.

oh right! didn't see it :)

Thanks,
Andi