From: Jeffrey Hugo Subject: Re: [PATCH v4 3/3] gpiolib: Show correct direction from the beginning Date: Thu, 4 Oct 2018 16:26:40 -0600 Message-ID: References: <20181002140858.16833-1-ricardo.ribalda@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Ricardo Ribalda Delgado , Linus Walleij , Timur Tabi , swboyd@chromium.org, linux-gpio@vger.kernel.org, LKML List-Id: linux-gpio@vger.kernel.org On 10/2/2018 9:21 AM, Jeffrey Hugo wrote: > On 10/2/2018 8:08 AM, Ricardo Ribalda Delgado wrote: >> Current code assumes that the direction is input if direction_input >> function is set. >> This might not be the case on GPIOs with programmable direction. >> >> Signed-off-by: Ricardo Ribalda Delgado > > I'll try to get this series tested on QDF2400 by the end of the week. 1-2/3 (v3) and 3/3 (v4) still fails. Same issue. Attempting to access config registers for GPIO 0 when the OS is not allowed to do that. -- Jeffrey Hugo Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.