Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2024 13:14:38 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 059fd69e7499 - main - umcs(4): Fix two typos in source code comments
Message-ID:  <202402221314.41MDEc4R093246@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=059fd69e749953c12b2cf099b34d3323d9c67d11

commit 059fd69e749953c12b2cf099b34d3323d9c67d11
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-02-22 13:14:08 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-02-22 13:14:08 +0000

    umcs(4): Fix two typos in source code comments
    
    - s/frequences/frequencies/
    
    MFC after:      3 days
---
 sys/dev/usb/serial/umcs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/usb/serial/umcs.c b/sys/dev/usb/serial/umcs.c
index ec8c89ab1f8b..18135e3bf67d 100644
--- a/sys/dev/usb/serial/umcs.c
+++ b/sys/dev/usb/serial/umcs.c
@@ -1047,7 +1047,7 @@ umcs7840_set_baudrate(struct umcs7840_softc *sc, uint8_t portno, uint32_t rate)
 	}
 	DPRINTF("Port %d set speed: %d (%02x / %d)\n", portno, rate, clk, divisor);
 
-	/* Set clock source for standard BAUD frequences */
+	/* Set clock source for standard BAUD frequencies */
 	err = umcs7840_get_reg_sync(sc, umcs7840_port_registers[portno].reg_sp, &data);
 	if (err)
 		return (err);
@@ -1078,7 +1078,7 @@ umcs7840_set_baudrate(struct umcs7840_softc *sc, uint8_t portno, uint32_t rate)
 	return (0);
 }
 
-/* Maximum speeds for standard frequences, when PLL is not used */
+/* Maximum speeds for standard frequencies, when PLL is not used */
 static const uint32_t umcs7840_baudrate_divisors[] = {0, 115200, 230400, 403200, 460800, 806400, 921600, 1572864, 3145728,};
 static const uint8_t umcs7840_baudrate_divisors_len = nitems(umcs7840_baudrate_divisors);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402221314.41MDEc4R093246>