From: Tom Rini Date: Wed, 3 Mar 2021 15:39:39 -0500 Subject: [PATCH v4 05/16] gpio: Drop dm_gpio_set_dir() In-Reply-To: <20210205042210.2949365-6-sjg@chromium.org> References: <20210205042210.2949365-1-sjg@chromium.org> <20210205042210.2949365-6-sjg@chromium.org> Message-ID: <20210303203939.GA14057@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:21:58PM -0700, Simon Glass wrote: > This function is not used. Drop it. > > Signed-off-by: Simon Glass > > Reviewed-by: Patrick Delaunay I'm dropping this patch as it seems to be an explicit break of: commit 6befb51f349459c96ed64412070feda7472cf152 Author: Harm Berntsen Date: Sun Nov 29 09:47:15 2020 +0000 i2c: i2c-gpio: Fix GPIO output The dm_gpio_set_dir_flags function cannot be used to update the configuration of a GPIO pin because it does a bitwise OR with the existing flags. Looks like commit 788ea834124b ("gpio: add function _dm_gpio_set_dir_flags") has introduced this behaviour and the i2c-gpio driver has been broken since. Signed-off-by: Harm Berntsen CC: Heiko Schocher CC: Patrick Delaunay -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: