On Tue, Sep 6, 2016 at 12:52 AM, Christophe Leroy
<[email protected]> 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 <[email protected]>
> Cc: <[email protected]>
Aha sorry for my regular screwups. :(
Reviewed-by: Linus Walleij <[email protected]>
Yours,
Linus Walleij