diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-07-24 15:58:28 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-03 15:51:19 -0700 |
commit | e70e69bf205e6d1f742f1cf1935b155417c9e29a (patch) | |
tree | 2f4b611e3de6f7e0f29fcb283498ec5c3900643a /drivers/tty/serial/21285.c | |
parent | fecf27a373f5a6b393e93b14f8460299b8abd6f9 (diff) | |
download | talos-op-linux-e70e69bf205e6d1f742f1cf1935b155417c9e29a.tar.gz talos-op-linux-e70e69bf205e6d1f742f1cf1935b155417c9e29a.zip |
serial: 8250_uniphier: call clk_disable_unprepare() on failure path
If serial8250_register_8250_port() fails, disable and unprepare the
clock before exiting.
Fixes: 1a8d2903cb6a ("serial: 8250_uniphier: add UniPhier serial driver")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/21285.c')
0 files changed, 0 insertions, 0 deletions