[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdax5H0ar3ujKDohXvDZAXPWNWFKE1_AX9tn1FEOv5Yteg@mail.gmail.com>
Date: Thu, 28 Nov 2019 14:39:10 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Johnson CH Chen (陳昭勳)
<JohnsonCH.Chen@...a.com>
Cc: "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"zero19850401@...il.com" <zero19850401@...il.com>
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@...a.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@...a.com>
> Link: https://patchwork.kernel.org/patch/11234609
Patch applied for fixes!
Yours,
Linus Walleij
Powered by blists - more mailing lists