[PATCH 1/3] gliolib: request the gpio before querying its direction
From: Linus Walleij <hidden>
Date: 2017-07-31 13:35:21
Also in:
linux-arm-msm, linux-gpio
From: Linus Walleij <hidden>
Date: 2017-07-31 13:35:21
Also in:
linux-arm-msm, linux-gpio
On Thu, Jul 27, 2017 at 8:19 PM, Timur Tabi [off-list ref] wrote:
Before querying a GPIO to determine its direction, the GPIO should be formally requested. This allows the GPIO driver to block access to unavailable GPIOs, which makes it easier for some drivers to support sparse GPIO maps. Signed-off-by: Timur Tabi <redacted>
This makes all kind of semantic change, so patch applied. Yours, Linus Walleij