Messages in this thread | | | From | Linus Walleij <> | Date | Thu, 28 Nov 2019 14:39:10 +0100 | Subject | Re: [PATCH] gpio: mpc8xxx: Add platform device to gpiochip->parent |
| |
Hi Johnson,
On Tue, Nov 26, 2019 at 7:51 AM Johnson CH Chen (陳昭勳) <JohnsonCH.Chen@moxa.com> wrote:
> In old kernels, some APIs still try to use parent->of_node from struct gpio_chip, > and it could be resulted in kernel panic because parent is NULL. Adding platform > device to gpiochip->parent can fix this problem. > > Signed-off-by: Johnson Chen <johnsonch.chen@moxa.com> > Link: https://patchwork.kernel.org/patch/11234609
Patch applied for fixes!
Yours, Linus Walleij
| |