[PATCH] soc: fsl/qe: fix gpio save_regs functions
Linus Walleij
linus.walleij at linaro.org
Thu Sep 8 08:05:42 AEST 2016
On Tue, Sep 6, 2016 at 12:52 AM, Christophe Leroy
<christophe.leroy at c-s.fr> wrote:
> of_mm_gpiochip_add_data() calls mm_gc->save_regs() before
> setting the data. Therefore ->save_regs() cannot use
> gpiochip_get_data()
>
> An Oops is encountered without this fix.
>
> fixes: 1e714e54b5ca5 ("powerpc: qe_lib-gpio: use gpiochip data pointer")
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
> Cc: <stable at vger.kernel.org>
Aha sorry for my regular screwups. :(
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the Linuxppc-dev
mailing list