OSDN Git Service

Revert "tty: serial: bcm63xx: fix missing clk_put() in bcm63xx_uart"
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 1 May 2020 01:39:04 +0000 (18:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 May 2020 09:49:57 +0000 (11:49 +0200)
commit092a9f59bc05904d4555fa012db12e768734ba1a
treec573b6f1fba1793e6dd05ee934218b2dc35abf0e
parent6a8b55ed4056ea5559ebe4f6a4b247f627870d4c
Revert "tty: serial: bcm63xx: fix missing clk_put() in bcm63xx_uart"

This reverts commit 580d952e44de5509c69c8f9346180ecaa78ebeec ("tty:
serial: bcm63xx: fix missing clk_put() in bcm63xx_uart") because we
should not be doing a clk_put() if we were not successful in getting a
valid clock reference via clk_get() in the first place.

Fixes: 580d952e44de ("tty: serial: bcm63xx: fix missing clk_put() in bcm63xx_uart")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200501013904.1394-1-f.fainelli@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/bcm63xx_uart.c