Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5dc6f3fe authored by Christophe Leroy's avatar Christophe Leroy Committed by Scott Wood
Browse files

soc/fsl/qe: fix gpio save_regs functions



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: 1e714e54 ("powerpc: qe_lib-gpio: use gpiochip data pointer")
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Cc: <stable@vger.kernel.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarScott Wood <oss@buserror.net>
parent e627f8dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment