mbox series

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

Message ID 20230427181916.2983697-1-opendmb@gmail.com
Headers show
Series serial: 8250_bcm7271: Fix clock handling | expand

Message

Doug Berger April 27, 2023, 6:19 p.m. UTC
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(-)