]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: bcm63xx: fix missing clk_put() in bcm63xx_uart
authorZou Wei <zou_wei@huawei.com>
Tue, 21 Apr 2020 12:31:46 +0000 (20:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 13:48:53 +0000 (15:48 +0200)
commit40232bd0257e94ee1d026494cd29c1a701e548fa
treedd8dad279f871a738478cd0d30ec048d2d30e9fb
parent362b871d851df115a4b05373d3eddf98fa4eb16f
tty: serial: bcm63xx: fix missing clk_put() in bcm63xx_uart

This patch fixes below error reported by coccicheck

drivers/tty/serial/bcm63xx_uart.c:848:2-8: ERROR: missing clk_put;
clk_get on line 842 and execution via conditional on line 846

Fixes: 526fb0dc55b8 ("tty: move drivers/serial/ to drivers/tty/serial/")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/1587472306-105155-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/bcm63xx_uart.c