diff options
author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2021-10-20 21:26:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-21 10:30:08 +0200 |
commit | 9768a37cec37b03f745ce90f8c3d378e0aa223ae (patch) | |
tree | 0fe9799146f1216deaf50240d51fce1b1017b928 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6d0d1b5a1b4870911beb89544ec1a9751c42fec7 (diff) |
serial: imx: disable console clocks on unregister
During console setup imx_uart_console_setup() enables clocks, but they
are never disabled when the console is unregistered, this leads to
clk_prepare_enable() being called multiple times without a matching
clk_disable_unprepare() in case of console unregister.
Ensure that clock enable/disable are balanced adding
clk_disable_unprepare() in the console exit callback.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20211020192643.476895-3-francesco.dolcini@toradex.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions