Re: [PATCH] pinctrl: madera: Fix possible NULL pointer with pdata config

2018-08-29 Thread Linus Walleij
On Tue, Aug 28, 2018 at 10:45 AM Richard Fitzgerald wrote: > If we are being configured via pdata we don't necessarily have > any gpio mappings being configured that way so pdata->gpio_config > could be NULL. > > Signed-off-by: Richard Fitzgerald Patch applied for fixes. Yours, Linus Walleij

[PATCH] pinctrl: madera: Fix possible NULL pointer with pdata config

2018-08-28 Thread Richard Fitzgerald
If we are being configured via pdata we don't necessarily have any gpio mappings being configured that way so pdata->gpio_config could be NULL. Signed-off-by: Richard Fitzgerald --- drivers/pinctrl/cirrus/pinctrl-madera-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d