]> git.karo-electronics.de Git - linux-beck.git/commit
wlcore: set irq_trigger in board files instead of hiding behind a quirk
authorLuciano Coelho <luca@coelho.fi>
Wed, 18 Mar 2015 16:38:25 +0000 (18:38 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Mar 2015 21:20:50 +0000 (14:20 -0700)
commit6f921fab5844941f7605b7f1a265f5fc7fe969a7
tree0a9c9e42ff1ea15780aa9bea90361c0afd769c6a
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda
wlcore: set irq_trigger in board files instead of hiding behind a quirk

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 irq_trigger explicitly.

This will allow us to use standard irq DT definitions
later on.

Signed-off-by: Luciano Coelho <luca@coelho.fi>
[Eliad - rebase, add irq_trigger field and pass it,
update board file changes]
Signed-off-by: Eliad Peller <eliad@wizery.com>
Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-davinci/board-da850-evm.c
arch/arm/mach-omap2/pdata-quirks.c
drivers/net/wireless/ti/wlcore/debugfs.c
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/sdio.c
drivers/net/wireless/ti/wlcore/wlcore.h
include/linux/wl12xx.h