commit | de06c1db255fb70301651a0255c6147e0036ea01 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Wed Jan 06 16:20:10 2016 -0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jan 07 10:06:56 2016 +0100 |
tree | f0c7b88d678de37768a83c37f865c8eaec849136 | |
parent | dced14675818bc9627febcc3159ffc1a0d88199d [diff] |
gpio: xilinx: Do not use gpiochip_get_data() in xgpio_save_regs() Commit 097d88e94c44 ("gpio: xilinx: use gpiochip data pointer") replaces the use of container_of() with gpiochip_get_data(). Unfortunately, the data pointer is not yet set by the time xgpio_save_regs() is called, causing a system hang. Fixes: 097d88e94c44 ("gpio: xilinx: use gpiochip data pointer") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>