[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOZdJXUUWUWHzus+3sbEXbW_q92e+SSzTQJCqCyQp6Y6_HOo3g@mail.gmail.com>
Date: Fri, 28 Sep 2018 14:22:46 -0500
From: Timur Tabi <timur@...nel.org>
To: Jeffrey Hugo <jhugo@...eaurora.org>
Cc: Timur Tabi <timur@...nel.org>, Stephen Boyd <swboyd@...omium.org>,
lkml <linux-kernel@...r.kernel.org>,
Linus <linus.walleij@...aro.org>, ricardo.ribalda@...il.com,
linux-gpio <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH v2] gpiolib: Show correct direction from the beginning
On Fri, Sep 28, 2018 at 2:14 PM Jeffrey Hugo <jhugo@...eaurora.org> wrote:
> Nack. Causes a XPU violation to the GPIO config registers.
That doesn't surprise me at all.
I believe that the problem is that gpiochip_line_is_valid() is being
called before gpiochip_irqchip_init_valid_mask() is called, which
means that gpiochip_line_is_valid() always returns true.
Powered by blists - more mailing lists