From: Russell King Date: Tue, 16 Jun 2015 22:06:40 +0000 (+0100) Subject: gpio: gpio-mxc: Fix race in installing chained IRQ handler X-Git-Tag: omap-for-v4.2/fixes-rc1^2~167^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e65eea54e98566de2cbb10e710873bc5e34c6680;p=pandora-kernel.git gpio: gpio-mxc: 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/E1Z4z0C-0002SX-Lj@rmk-PC.arm.linux.org.uk Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed