gpio: gpio-mxs: Fix race in installing chained IRQ handler
gpio: gpio-mxs: 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 <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>
Cc: Alexandre Courbot <65cb6c989b5ca9e749bdf49f881cbebafb9afedc@gmail.com>
Cc: Hans Ulli Kroll <f8a54735cea1aa4d1d577b878fdf8a9830243041@googlemail.com>
Cc: Jason Cooper <68c46a606457643eab92053c1c05574abb26f861@lakedaemon.net>
Cc: Lee Jones <630e34333487a351a857f6b705e04d30b37c1629@linaro.org>
Cc: Linus Walleij <9cd9d802d23c0ed5e224beabf4ae4a5c478746ef@linaro.org>
Cc: Thierry Reding <b75a4d02013b0e68ae2c6bb0dcfd4b7bec282dc9@gmail.com>
Cc: f99ef57ccac738b558d0fc2e44478b3c5def9522@lists.infradead.org
Link: 743f6f11067e3f2f854cf18173c8871e590a3ab2@rmk-PC.arm.linux.org.uk
Signed-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs