Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1703851
| From | Mika Westerberg <mika.westerberg@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] pinctrl: check ops->pin_config_set in pinconf_set_config() |
| Date | 2017-08-04 12:20 +0200 |
| Message-ID | <uaHS1-5H2-7@gated-at.bofh.it> (permalink) |
| References | <uaB9T-1ha-1@gated-at.bofh.it> |
| Organization | Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo |
On Fri, Aug 04, 2017 at 11:59:32AM +0900, Masahiro Yamada wrote:
> pinconf_set_config() is called by pinctrl_gpio_set_config().
> If a GPIO driver is backed by a pinctrl driver and it does not
> support .pin_config_set() hook, it causes NULL pointer dereference.
>
> Fixes: 15381bc7c7f5 ("pinctrl: Allow configuration of pins from gpiolib based drivers")
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] pinctrl: check ops->pin_config_set in pinconf_set_config() Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-08-04 05:10 +0200 Re: [PATCH] pinctrl: check ops->pin_config_set in pinconf_set_config() Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-08-04 12:20 +0200 Re: [PATCH] pinctrl: check ops->pin_config_set in pinconf_set_config() Linus Walleij <linus.walleij@linaro.org> - 2017-08-07 15:30 +0200
csiph-web