From: Pawel MOLL Date: Mon, 1 Sep 2008 09:12:11 +0000 (+0100) Subject: genirq: irq_chip->startup() usage in setup_irq and set_irq_chained handler X-Git-Tag: v2.6.28-rc1~80^2~176 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e6e178ab1548c8d894a77593e757acf4510b8ba;p=pandora-kernel.git genirq: irq_chip->startup() usage in setup_irq and set_irq_chained handler This patch clarifies usage of irq_chip->startup() callback: 1. The "if (startup) startup(); else enabled();" code in setup_irq() is unnecessary, as startup() falls back to enabled() via default callbacks, set by irq_chip_set_defaults(). 2. When using set_irq_chained_handler() the startup() was never called, which is not good at all... Fixed. And again - when startup() is not defined the call will fall back to enable() than to unmask() via default callbacks. Signed-off-by: Pawel Moll Acked-by: Benjamin Herrenschmidt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed