[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d84ee082-f578-3ed3-32be-dbeb9562980e@kernel.org>
Date: Wed, 19 Sep 2018 06:50:25 -0500
From: Timur Tabi <timur@...nel.org>
To: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>,
Linus Walleij <linus.walleij@...aro.org>
Cc: Timur Tabi <timur@...eaurora.org>, swboyd@...omium.org,
linux-gpio@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpiolib: Show correct direction from the beginning
On 9/18/18 11:04 PM, Ricardo Ribalda Delgado wrote:
> And should't that be tacked in qcom hardware with something like:
>
> if (!priv->initialized)
> return INPUT;
>
> if you or Timur point me to the harware that was crashing I would not
> mind looking into that, but the current situations seems to me like a
> hack.
I'd say the previous code was the hack. My comment about not touching
the hardware until it is properly claimed is valid, and it applies to
all platforms.
Powered by blists - more mailing lists