From: David Daney Date: Thu, 10 Feb 2011 00:04:25 +0000 (-0800) Subject: genirq: Call bus_lock/unlock functions in setup_irq() X-Git-Tag: v2.6.39-rc1~503^2~9^2~86^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=986c011ddbb3ed44b35e1bfd67f6aa60b293b495;p=pandora-kernel.git genirq: Call bus_lock/unlock functions in setup_irq() irq_chips that supply .irq_bus_lock/.irq_bus_sync_unlock functions, expect that the other chip methods will be called inside of calls to the pair. If this expectation is not met, things tend to not work. Make setup_irq() call chip_bus_lock()/chip_bus_sync_unlock() too. For the vast majority of irq_chips, this will be a NOP as most don't have these bus lock functions. [ tglx: No we don't want to call that in __setup_irq(). Way too many error exit pathes. ] Signed-off-by: David Daney LKML-Reference: <1297296265-18680-1-git-send-email-ddaney@caviumnetworks.com> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed