[PATCH 0/2] serial: 8250_bcm7271: Fix clock handling

From: Doug Berger
Date: Thu Apr 27 2023 - 14:20:04 EST


XuDong Liu offered a patch to correct some clock issues detected
in the probe function and Christophe JAILLET pointed out that
there was a similar issue in remove.

Since no V2 has appeared, I am providing this pair of commits to
address both cases. This set chooses to use a managed clock to
avoid the need to explicitly call clk_put from the driver.

Doug Berger (2):
serial: 8250_bcm7271: balance clk_enable calls
serial: 8250_bcm7271: fix leak in `brcmuart_probe`

drivers/tty/serial/8250/8250_bcm7271.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

--
2.34.1