]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: stm32: clock disabling management
authorAlexandre TORGUE <alexandre.torgue@st.com>
Thu, 15 Sep 2016 16:42:38 +0000 (18:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2016 09:48:55 +0000 (11:48 +0200)
commit511c7b1baa8ae86dbcf83b8f489d39ff4b64a123
tree6f4e3e0dea44cc24512ac6e2f45eea503c0c0458
parent59bed2dfe03e9e572bfb5a2d29effc1791eedcbc
serial: stm32: clock disabling management

Keep the clock enabled at the end of stm32_init_port
but disable it in stm32_serial_remove.
Note that stm32_pm function is there to manage the
clock at runtime.

Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c