Re: Regression caused by a603a2b8d86e "gpio: of: Add special quirk to parse regulator flags"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 16, 2018 at 9:49 PM, Heiner Kallweit <hkallweit1@xxxxxxxxx> wrote:

> With the latest next kernel I get a NPE caused by mentioned commit.
> The change doesn't consider that the flags parameter can be NULL,
> e.g. of_get_named_gpio() sets it to NULL.
> All that of_gpio_flags_quirks() does is adjusting the flags,
> so the following simple change fixed the issue for me.
>
> if (flags)
>         of_gpio_flags_quirks(np, flags);

How sloppy of me.

I sent a patch.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux