[PATCH -next] gpio: xilinx: Do not use gpiochip_get_data() in xgpio_save_regs()
Linus Walleij
linus.walleij at linaro.org
Thu Jan 7 01:07:51 PST 2016
On Thu, Jan 7, 2016 at 1:20 AM, Guenter Roeck <linux at roeck-us.net> wrote:
> 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 at roeck-us.net>
> ---
> It might make sense to merge this patch with the patch introducing the problem.
Patch applied, thanks for finding and fixing this so quick!
(I hope I haven't created too many of these regressions...)
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list