]> git.baikalelectronics.ru Git - kernel.git/commit
serial: stm32: fix error handling in probe
authorFabrice Gasnier <fabrice.gasnier@st.com>
Thu, 13 Jul 2017 15:08:29 +0000 (15:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 14:32:31 +0000 (07:32 -0700)
commit1e29a957f40053f886e78a4cf5c727f3c5348789
tree3e8821c22687bac9ad09e2f7a996e24bb745a382
parent1b4290982b269428d3614d034e20b4c2f1a2c1e5
serial: stm32: fix error handling in probe

Disable clock properly in case of error.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Bich Hemon <bich.hemon@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c