Re: [PATCH] gpiolib: Show correct direction from the beginning

From: Timur Tabi
Date: Wed Sep 19 2018 - 07:50:32 EST


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.