From: Valentin Rothberg Date: Wed, 11 Feb 2015 15:37:57 +0000 (+0100) Subject: regmap-irq: set IRQF_ONESHOT flag to ensure IRQ request X-Git-Tag: omap-for-v4.2/o2_dc~304^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09cadf6e088b59c335116bf0e2667486bc126c6a;p=pandora-kernel.git regmap-irq: set IRQF_ONESHOT flag to ensure IRQ request Since commit 1c6c69525b40eb76de8adf039409722015927dc3 ("genirq: Reject bogus threaded irq requests") threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. The %irq_flags flag is used to request the threaded IRQ and is also a parameter of the caller. Hence, we cannot be sure that IRQF_ONESHOT is set. This change avoids the potentially missing flag by setting IRQF_ONESHOT when requesting the threaded IRQ. Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci Signed-off-by: Valentin Rothberg Signed-off-by: Mark Brown --- Reading git-diff-tree failed