diff options
author | Doug Berger | 2023-04-27 11:19:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-05-24 17:32:44 +0100 |
commit | 2a3e5f428fc4315be6144524912eaefac16f43a9 (patch) | |
tree | 4b1809d3a97e74afd9fc06ef01ff9b89bb0fdefe /net | |
parent | dcf08087c2cdf557a6d6fb70da9bace744827ffd (diff) |
serial: 8250_bcm7271: fix leak in `brcmuart_probe`
[ Upstream commit f264f2f6f4788dc031cef60a0cf2881902736709 ]
Smatch reports:
drivers/tty/serial/8250/8250_bcm7271.c:1120 brcmuart_probe() warn:
'baud_mux_clk' from clk_prepare_enable() not released on lines: 1032.
The issue is fixed by using a managed clock.
Fixes: 41a469482de2 ("serial: 8250: Add new 8250-core based Broadcom STB driver")
Reported-by: XuDong Liu <m202071377@hust.edu.cn>
Link: https://lore.kernel.org/lkml/20230424125100.4783-1-m202071377@hust.edu.cn/
Signed-off-by: Doug Berger <opendmb@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20230427181916.2983697-3-opendmb@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions