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


Groups > linux.kernel > #1497694

Re: [PATCH] ARM: pxa: pxa_cplds: honor probe deferral

From Robert Jarzmik <robert.jarzmik@free.fr>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: pxa: pxa_cplds: honor probe deferral
Date 2016-10-08 11:30 +0200
Message-ID <spW77-5eh-5@gated-at.bofh.it> (permalink)
References <slywp-UK-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Robert Jarzmik <robert.jarzmik@free.fr> writes:

> The method to acquire the input interrupt was working in a platform data
> based board, but was failing in a device-tree one when the gpio
> controller was probed after pxa_cplds.
>
> Use platform_get_irq() to benefit from the probe deferral
> mechanism. Moreover, as seen in dm9000.c development, platform_get_irq()
> doesn't honor the irq type IO resource (ie. edge rising for example),
> and it must be passed again at irq request in a not device-tree build,
> hence the irq_get_trigger_type() call.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Applied to pxa/for-next.

Cheers.

--
Robert

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


Thread

[PATCH] ARM: pxa: pxa_cplds: honor probe deferral Robert Jarzmik <robert.jarzmik@free.fr> - 2016-09-26 09:30 +0200
  Re: [PATCH] ARM: pxa: pxa_cplds: honor probe deferral Robert Jarzmik <robert.jarzmik@free.fr> - 2016-10-08 11:30 +0200

csiph-web