From: Russell King Date: Tue, 16 Jun 2015 22:06:50 +0000 (+0100) Subject: gpio: gpio-tegra: Fix race in installing chained IRQ handler X-Git-Tag: omap-for-v4.2/fixes-rc1^2~167^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88d251d6a4fb719f9f667a397cf5d755121e551;p=pandora-kernel.git gpio: gpio-tegra: Fix race in installing chained IRQ handler Fix a race where a pending interrupt could be received and the handler called before the handler's data has been setup, by converting to irq_set_chained_handler_and_data(). Signed-off-by: Russell King Cc: Alexandre Courbot Cc: Hans Ulli Kroll Cc: Jason Cooper Cc: Lee Jones Cc: Linus Walleij Cc: Thierry Reding Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/E1Z4z0M-0002Sl-Ti@rmk-PC.arm.linux.org.uk Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed