[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231129141432.ZzaLYucz@linutronix.de>
Date: Wed, 29 Nov 2023 15:15:09 +0100
From: Nam Cao <namcao@...utronix.de>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: broonie@...nel.org, linux-arm-kernel@...ts.infradead.org,
linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] spi: introduce SPI_TRANS_FAIL_IO for error reporting
On Wed, Nov 29, 2023 at 02:55:18PM +0100, Linus Walleij wrote:
> On Wed, Nov 29, 2023 at 2:32 PM Nam Cao <namcao@...utronix.de> wrote:
> > #define SPI_TRANS_FAIL_NO_START BIT(0)
> > +#define SPI_TRANS_FAIL_IO BIT(1)
>
> Is it obvious from context when these flags get set?
> from transfer_one() and in which flag field?
>
> Otherwise maybe we should add a comment.
Agree that the purpose of this flag is not clear. I will add some
description in v2.
Best regards,
Nam
Powered by blists - more mailing lists