]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Blackfin: H8606: fixup bogus ioresource init
authorThomas Gleixner <tglx@linutronix.de>
Sat, 23 Jul 2011 15:51:38 +0000 (15:51 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Aug 2011 01:59:52 +0000 (21:59 -0400)
commit9dddba61280acf82110346f5becaa1403409359a
treea20ff80bf9e9b602e734ad7d4a3e683d9b8dffa5
parent72fa59970f8698023045ab0713d66f3f4f96945c
Blackfin: H8606: fixup bogus ioresource init

IRQF_SHARED is not part of the IORESOURCE_IRQ bits. It's expressed by
IORESOURCE_IRQ_SHAREABLE.

IORESOURCE_IRQ_HIGHEDGE and IRQF_TRIGGER_HIGH are contradicting
values, an interrupt can hardly be configured for both level and edge
at the same time. This was introduced in commit 45138439(Blackfin
arch: flash memory map and dm9000 resources updating) of course
without any hint in the changelog what the heck this is supposed to
do.

Acked-by: Javier Herrero <jherrero@hvsistemas.es>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf533/boards/H8606.c