]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: stm32: don't print an error on probe deferral during clock get
authorEtienne Carriere <etienne.carriere@st.com>
Mon, 15 Jun 2020 12:54:06 +0000 (14:54 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 20 Jun 2020 21:05:18 +0000 (23:05 +0200)
commitfd4839c8193e9a2b57dc9ef7b8e21bf31b7a4bda
treedc88a02333391ac37f55cb0b38ac36716771eb1f
parenta397358afff4683982483773c6c13909443f7012
pinctrl: stm32: don't print an error on probe deferral during clock get

Change STM32 pinctrl driver to not print an error trace when probe is
deferred due to clock resource. Probe defer issue (for clocks) could
occur during bank registering when some banks have already been registered.
In this case banks already registered should be released. To not waste time
in this case, it is better to check first if all clocks are available
before registering banks.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Link: https://lore.kernel.org/r/20200615125407.27632-2-alexandre.torgue@st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c