diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-09-26 09:21:28 +0200 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-10-18 09:12:37 +0200 |
commit | 3738ca1b2a7bae482e2d29485414a1dc1a946153 (patch) | |
tree | 9ea273d2dd7943bd290447e1cb9db9e75d75b899 /kernel/membarrier.c | |
parent | d3570e3c5002d514582cad09d6892a4c78c3781b (diff) |
ARM: pxa: pxa_cplds: honor probe deferral
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>
Diffstat (limited to 'kernel/membarrier.c')
0 files changed, 0 insertions, 0 deletions