diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-17 01:13:46 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-22 09:45:08 (GMT) |
commit | 1664bc40d31403a755fe88307410ed858fe2c6c9 (patch) | |
tree | f4e4cb8a04948699beca7b4562c12aa0d4348e16 /drivers/tty/serial/amba-pl011.c | |
parent | fadb4244085cd04fd9c8b3a4b3bc161f506431f3 (diff) | |
download | linux-1664bc40d31403a755fe88307410ed858fe2c6c9.tar.xz |
serial: mxs-auart: Fix missing clk_disable_unprepare() on error in mxs_get_clks()
Commit 5d7519dfc963 ("serial: mxs-auart: Disable clock on error path")
try to disable clock on error path, but still missing the clk_set_rate()
error handling path.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/amba-pl011.c')
0 files changed, 0 insertions, 0 deletions