diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-04-09 13:20:38 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-04-14 10:22:36 +0200 |
commit | 7633fb959b711a8d91548911eb087fb931c7b8e4 (patch) | |
tree | 44a18027ec3cb7722e9bf012574046b880b37ac3 /drivers/gpio/gpiolib.h | |
parent | Linux 3.15-rc1 (diff) | |
download | linux-7633fb959b711a8d91548911eb087fb931c7b8e4.tar.xz linux-7633fb959b711a8d91548911eb087fb931c7b8e4.zip |
gpio: set data first, then chip and handler
During irq mapping, in irq_set_chip_and_handler() the process
of setting this up may incur calls to lock the irqchip, which
in turn may need to dereference and use the chip data. So set
the data first, then set the chip and handler.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib.h')
0 files changed, 0 insertions, 0 deletions