diff options
author | Doug Berger <[email protected]> | 2023-04-27 11:19:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-05-13 19:56:01 +0900 |
commit | f264f2f6f4788dc031cef60a0cf2881902736709 (patch) | |
tree | 8519bdb39a86f4e9e3e9c7b496df1a37ba4e3180 /lib/mpi/mpi-mod.c | |
parent | 8a3b5477256a54ae4a470dcebbcf8cdc18e4696d (diff) |
serial: 8250_bcm7271: fix leak in `brcmuart_probe`
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 <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Doug Berger <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions