diff options
author | Zheng Zengkai <zhengzengkai@huawei.com> | 2020-11-11 13:44:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-12 09:41:07 +0100 |
commit | 425af483523b76bc78e14674a430579d38b2a593 (patch) | |
tree | 96619779b483e595b73cf2fdb4e87c3a20147003 /drivers/reset/reset-uniphier.c | |
parent | tty: serial: imx: keep console clocks always on (diff) | |
download | linux-425af483523b76bc78e14674a430579d38b2a593.tar.xz linux-425af483523b76bc78e14674a430579d38b2a593.zip |
serial: ar933x_uart: disable clk on error handling path in probe
ar933x_uart_probe() does not invoke clk_disable_unprepare()
on one error handling path. This patch fixes that.
Fixes: 9be1064fe524 ("serial: ar933x_uart: add RS485 support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
Link: https://lore.kernel.org/r/20201111124426.42638-1-zhengzengkai@huawei.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/reset/reset-uniphier.c')
0 files changed, 0 insertions, 0 deletions