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


Groups > linux.kernel > #1331012

Re: [PATCH 1/2] gpio: davinci: Add the missing of-node pointer in the irq_domain_add_legacy function call

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] gpio: davinci: Add the missing of-node pointer in the irq_domain_add_legacy function call
Date Wed, 10 Feb 2016 11:10:04 +0100
Message-ID <r0zSI-OA-51@gated-at.bofh.it> (permalink)
References <qVUXM-43r-27@gated-at.bofh.it> <qVV7s-47l-7@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wZTq/dItvbpt4BS1xPcaYsq2Kc6HrjHkru4wMBHdgHQ=; b=SAKYuH15EPj/7y8h1GO0voYyYgHAdlet1Dt+Qc0i8sE9fErCahuRxLn67vgK/ckKfA VxIZ8Sk8FfWH0eFb9j0XgwTkinJzDmljIMT571nsS+WQA4eG+iJqa1ekgnnQEbq60/6q Y68PWolGcJ1ALQRdwhwAXJylO6UZ/eDMTryVw=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=wZTq/dItvbpt4BS1xPcaYsq2Kc6HrjHkru4wMBHdgHQ=; b=K47xdI0WWzl27SwMwPF4BG/GQ37yFUUxTqISIHyWZpbZXgsMG2drz6x41HP6eP+8CT mrX/fr+QX8kOBW2qBtb9kgDL4DOUiqGNRCXR5oSCGWzWxynT/uGxXQjL16cqOBruMnR7 xKJcbzT2KsCCYv6tAiUAnQ5XFpnk/Wvt8/tZ0GRUtCoabBhSY2xON3wLjiYjSYh95EEG w3QRHxC965xLvduoeoirlFUBaGJGHFNiHaprweZRqc7BhZQAR+A8t/CJHRQguwdYBZvq w/1+GGQWwByJZfQpP8iGM8J4IWU6KIaqxITFRd0KVKc9VGrZok9FU8n0Prw2DAGtKuZJ oDxg==
X-Gm-Message-State AG10YOTB6y/K6onHZ+JruXlnhU/5qQbmrQUMfK4IrXCp8KLcqHU3vd5k/4GhhaMT5QX7XHRE1Tc5DEH/v44x9wRm
MIME-Version 1.0
X-Received by 10.60.47.195 with SMTP id f3mr36760268oen.1.1455098401231; Wed, 10 Feb 2016 02:00:01 -0800 (PST)
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 13
Organization linux.* mail to news gateway
X-Original-Cc Alexandre Courbot <gnurou@gmail.com>, "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Grygorii Strashko <grygorii.strashko@ti.com>, Lokesh Vutla <lokeshvutla@ti.com>
X-Original-Date Wed, 10 Feb 2016 11:00:01 +0100
X-Original-Message-ID <CACRpkdaO+SmOTFNkcte+ByUeiU+zk7+7xONX_27oYvRjCkt-8g@mail.gmail.com>
X-Original-References <1453988331-17111-1-git-send-email-j-keerthy@ti.com> <1453988331-17111-2-git-send-email-j-keerthy@ti.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1331012

Show key headers only | View raw


On Thu, Jan 28, 2016 at 2:38 PM, Keerthy <j-keerthy@ti.com> wrote:

> Currently the first parameter of irq_domain_add_legacy is NULL.
> irq_find_host function returns NULL when we do not populate the of_node
> and hence irq_of_parse_and_map call fails whenever we want to request a
> gpio irq. This fixes the request_irq failures for gpio interrupts.
>
> Signed-off-by: Keerthy <j-keerthy@ti.com>

Patch applied for fixes with Grygorii's review tag.

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] gpio: davinci: Add the missing of-node pointer in the  irq_domain_add_legacy function call Linus Walleij <linus.walleij@linaro.org> - 2016-02-10 11:10 +0100

csiph-web