Home
last modified time | relevance | path

Searched hist:"0 b1af3a59d2e8ec1898b99a7809d5e777117c8e5" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/pinctrl/
H A Dpinctrl-uclass.c0b1af3a59d2e8ec1898b99a7809d5e777117c8e5 Mon Oct 21 13:02:40 UTC 2019 Patrick Delaunay <patrick.delaunay@st.com> UPSTREAM: dm: pinctrl: fix for introduce PINCONF_RECURSIVE option

Correct the name of the define used CONFIG_IS_ENABLED which is
not aligned with Kconfig name: CONFIG_$(SPL_)PINCONF_RECURSIVE.

The recursive calls is conditional only for UCLASS_PINCONFIG
"pinconfig" driver.
It is always needed to call pinctrl_post_bind for UCLASS_PINCTRL
"pinctrl", the test CONFIG_IS_ENABLED(PINCONF_RECURSIVE) need to
be removed for this driver.

This correct a regression introduced because the same patch is
applied twice times in u-boot-dm branch:
- commit e878b53a79d1 ("dm: pinctrl: introduce PINCONF_RECURSIVE
option")
- commit c20851b3d850 ("dm: pinctrl: introduce PINCONF_RECURSIVE
option")

Change-Id: Ib9429aa92ffe851d54f7b107a8d91d98a0dd8c19
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
(cherry picked from commit 44510daea4d07fee736dd90411c4b503340b449e)
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>