[PATCH v3 2/8] wlcore: set irq_flags in the board files instead of hiding behind a quirk
Sekhar Nori
nsekhar at ti.com
Thu Jul 4 00:46:24 EDT 2013
On 7/3/2013 7:33 PM, Luciano Coelho wrote:
> The platform_quirk element in the platform data was used to change the
> way the IRQ is triggered. When set, the EDGE_IRQ quirk would change
> the irqflags used and treat edge trigger differently from the rest.
>
> Instead of hiding this irq flag setting behind the quirk, have the
> board files set the flags during initialization. This will be more
> meaningful than driver-specific quirks when we switch to DT.
>
> Additionally, fix missing gpio_request() calls in the boarding files
> (so that setting the flags actually works).
>
> Cc: Tony Lindgren <tony at atomide.com>
> Cc: Sekhar Nori <nsekhar at ti.com>
> Signed-off-by: Luciano Coelho <coelho at ti.com>
> ---
> arch/arm/mach-davinci/board-da850-evm.c | 8 +++++-
For the board-da850-evm.c change,
Acked-by: Sekhar Nori <nsekhar at ti.com>
Thanks,
Sekhar
More information about the linux-arm-kernel
mailing list