Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1607285

Re: [PATCH v2] pinctrl: st: add irq_request/release_resources callbacks

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] pinctrl: st: add irq_request/release_resources callbacks
Date 2017-03-23 10:20 +0100
Message-ID <to74u-bk-21@gated-at.bofh.it> (permalink)
References <tlHnQ-1ze-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 16, 2017 at 6:26 PM,  <patrice.chotard@st.com> wrote:

> From: Patrice Chotard <patrice.chotard@st.com>
>
> When using GPIO as IRQ source, the GPIO must be configured
> in INPUT. Callbacks dedicated for this was missing in
> pinctrl-st driver.
>
> This fix the following kernel error when trying to lock a gpio
> as IRQ:
>
> [    7.521095] gpio gpiochip7: (PIO11): gpiochip_lock_as_irq: tried to flag a GPIO set as output for IRQ
> [    7.526018] gpio gpiochip7: (PIO11): unable to lock HW IRQ 6 for IRQ
> [    7.529405] genirq: Failed to request resources for 0-0053 (irq 81) on irqchip GPIO
>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

Patch applied for fixes.

Yours,
Linus Walleij

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] pinctrl: st: add irq_request/release_resources callbacks <patrice.chotard@st.com> - 2017-03-16 18:30 +0100
  Re: [PATCH v2] pinctrl: st: add irq_request/release_resources callbacks Linus Walleij <linus.walleij@linaro.org> - 2017-03-23 10:20 +0100

csiph-web