diff options
author | Stefan Agner <stefan@agner.ch> | 2018-11-14 16:34:40 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2019-04-25 18:06:51 +0200 |
commit | fb14ce61580273278f446570cc2ebfadb9a2e835 (patch) | |
tree | 33dd03d3add817a6e1a46781ecd178e3203e8b1b /scripts/gdb/linux/tasks.py | |
parent | 2e91fa428a1389b3c881745a5779132e38cfbbbb (diff) |
serial: imx: unprepare console clocks on remove
Currently imx_uart_console_setup() prepares clocks which do not
get unprepared anywhere. Check whether the console has been used
by testing if index is set and unprepare clocks in this case.
This makes sure that clocks are properly unprepared after the
console device has been unbound.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions