diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-04-08 11:43:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-04-08 11:43:38 -0700 |
commit | c3df1c7c36aa55fa76d77d57383af334856ab9f8 (patch) | |
tree | 2b6ee459d9559814bb5eccf9442afe2bea30f619 /include | |
parent | 894ca30cf6ddf891aa17c39a4b8d511c0a8cf2e9 (diff) | |
parent | 6118714275f0a313ecc296a87ed1af32d9691bed (diff) | |
download | linux-c3df1c7c36aa55fa76d77d57383af334856ab9f8.tar.gz linux-c3df1c7c36aa55fa76d77d57383af334856ab9f8.tar.bz2 linux-c3df1c7c36aa55fa76d77d57383af334856ab9f8.zip |
Merge tag 'pinctrl-v4.11-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
Pull pin control fix from Linus Walleij:
"This late fix for pin control is hopefully the last I send this cycle.
The problem was detected early in the v4.11 release cycle and there
has been some back and forth on how to solve it. Sadly the proper fix
arrives late, but at least not too late.
An issue was detected with pin control on the Freescale i.MX after the
refactorings for more general group and function handling.
We now have the proper fix for this"
* tag 'pinctrl-v4.11-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
pinctrl: core: Fix pinctrl_register_and_init() with pinctrl_enable()
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pinctrl/pinctrl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/pinctrl/pinctrl.h b/include/linux/pinctrl/pinctrl.h index 8ce2d87a238b..5e45385c5bdc 100644 --- a/include/linux/pinctrl/pinctrl.h +++ b/include/linux/pinctrl/pinctrl.h @@ -145,8 +145,9 @@ struct pinctrl_desc { extern int pinctrl_register_and_init(struct pinctrl_desc *pctldesc, struct device *dev, void *driver_data, struct pinctrl_dev **pctldev); +extern int pinctrl_enable(struct pinctrl_dev *pctldev); -/* Please use pinctrl_register_and_init() instead */ +/* Please use pinctrl_register_and_init() and pinctrl_enable() instead */ extern struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc, struct device *dev, void *driver_data); |