Index | Thread | Search

From:
"Jan Schreiber" <jes@posteo.de>
Subject:
rkcomphy: add missing break
To:
<tech@openbsd.org>
Date:
Mon, 25 May 2026 23:05:51 +0000

Download raw body.

Thread
Hi,

I was wondering why 'unsupported reference clock' gets printed even
though the case of 100M matches. Turns out a break is missing.

Jan

diff --git sys/dev/fdt/rkcomphy.c sys/dev/fdt/rkcomphy.c
index 27fe3367b6f..ec0eec8108b 100644
--- sys/dev/fdt/rkcomphy.c
+++ sys/dev/fdt/rkcomphy.c
@@ -606,6 +606,7 @@ rkcomphy_rk3588_enable(void *cookie, uint32_t *cells)
 			rkcomphy_rk3588_pll_tune(sc);
 			break;
 		}
+		break;
 	default:
 		printf("%s: unsupported reference clock (%d Hz)\n",
 		    sc->sc_dev.dv_xname, freq);