From: Tom Rini Date: Thu, 4 Mar 2021 13:14:30 -0500 Subject: [PATCH v4 08/16] gpio: sandbox: Fully separate pin value from output value In-Reply-To: <20210205042210.2949365-9-sjg@chromium.org> References: <20210205042210.2949365-1-sjg@chromium.org> <20210205042210.2949365-9-sjg@chromium.org> Message-ID: <20210304181430.GG1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 04, 2021 at 09:22:01PM -0700, Simon Glass wrote: > At present we have the concept of a pin's external value. This is what > is used when getting the value of a pin. But we still set the > GPIOD_IS_OUT_ACTIVE flag when changing the value. This is not actually > correct, since if the pin changes from output to input, the external > value need not change. Adjust the logic for this difference. > > Signed-off-by: Simon Glass > > Reviewed-by: Patrick Delaunay Applied to u-boot/next, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: