[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200126213157.GA9495@lunn.ch>
Date: Sun, 26 Jan 2020 22:31:57 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Paul Thomas <pthomas8589@...il.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Michal Simek <michal.simek@...inx.com>,
linux-gpio@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] GPIO, Fix bug where the wrong GPIO register is written to
On Sat, Jan 25, 2020 at 05:14:10PM -0500, Paul Thomas wrote:
> Care is taken with "index", however with the current version
> the actual xgpio_writereg is using index for data but
> xgpio_regoffset(chip, i) for the offset. And since i is already
> incremented it is incorrect. This patch fixes it so that index
> is used for the offset too.
>
> Signed-off-by: Paul Thomas <pthomas8589@...il.com>
Hi Paul
Please put Xilinx into the subject line. I had to actually look at the
patch to decide it was not relevant to me.
Andrew
Powered by blists - more mailing lists