From: Tom Rini Date: Fri, 1 Nov 2019 09:31:35 -0400 Subject: [U-Boot] [PATCH] gpio: da8xx_gpio: Fix the _gpio_direction_output function In-Reply-To: <20191024082228.23800-1-j-keerthy@ti.com> References: <20191024082228.23800-1-j-keerthy@ti.com> Message-ID: <20191101133135.GP11173@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, Oct 24, 2019 at 01:52:28PM +0530, Keerthy wrote: > _gpio_direction_output function currently calls gpio_set_value > with the wrong gpio number. gpio_set_value in the uclass driver > expects a different gpio number and the _gpio_direction_output > is currently providing the number specific to the bank. > > Hence fix it by calling the _gpio_set_value function instead. > > Reported-by: Faiz Abbas > Fixes: 8e51c0f254 ("dm: gpio: Add DM compatibility to GPIO driver for Davinci") > Signed-off-by: Keerthy Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: