serial: 8250_bcm2835aux: Restore clock error handling
authorStefan Wahren <wahrenst@gmx.net>
Wed, 20 Dec 2023 11:43:34 +0000 (12:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:35:43 +0000 (15:35 -0800)
commitbd4a210c09e40eda95b2dcef8f2d11569f9623be
tree81f92d593afa61b59742214a17e63aca826e8cf4
parent9a965fba11f356fca64c86b11fa7d421ccdb1e5f
serial: 8250_bcm2835aux: Restore clock error handling

commit 83e571f054cd742eb9a46d46ef05193904adf53f upstream.

The commit fcc446c8aa63 ("serial: 8250_bcm2835aux: Add ACPI support")
dropped the error handling for clock acquiring. But even an optional
clock needs this.

Fixes: fcc446c8aa63 ("serial: 8250_bcm2835aux: Add ACPI support")
Cc: stable <stable@kernel.org>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20231220114334.4712-1-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_bcm2835aux.c