Linux-Firmware Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mario Limonciello <mario.limonciello@amd.com>
To: <linux-firmware@kernel.org>, Josh Boyer <jwboyer@kernel.org>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Subject: [PATCH 07/20] usbdux: correct typographical errors caught by codespell
Date: Tue, 15 Aug 2023 13:00:05 -0500	[thread overview]
Message-ID: <20230815180018.25554-8-mario.limonciello@amd.com> (raw)
In-Reply-To: <20230815180018.25554-1-mario.limonciello@amd.com>

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
 usbdux/usbdux_firmware.asm      | 16 ++++++++--------
 usbdux/usbduxfast_firmware.asm  |  6 +++---
 usbdux/usbduxsigma_firmware.asm | 14 +++++++-------
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/usbdux/usbdux_firmware.asm b/usbdux/usbdux_firmware.asm
index b93a8955..a68a994d 100644
--- a/usbdux/usbdux_firmware.asm
+++ b/usbdux/usbdux_firmware.asm
@@ -170,7 +170,7 @@ ep4_isr:
 
 		
 ;;; main program
-;;; basically only initialises the processor and
+;;; basically only initializes the processor and
 ;;; then engages in an endless loop
 main:
 	mov	DPTR,#CPUCS	; CPU control register
@@ -386,7 +386,7 @@ wavetr:
 
 
 
-;;; initialise the ports for the AD-converter
+;;; initialize the ports for the AD-converter
 initAD:
 	mov	OEA,#27H	;PortA0,A1,A2,A5 Outputs
 	mov	IOA,#22H	;/CS = 1, disable transfers to the converters
@@ -410,7 +410,7 @@ init_timer:
 ;;; A/D-conversion:
 ;;; control-byte in a,
 ;;; result in r3(low) and r4(high)
-;;; this routine is optimised for speed
+;;; this routine is optimized for speed
 readAD:				; mask the control byte
 	anl	a,#01111100b	; only the channel, gain+pol are left
 	orl	a,#10000001b	; start bit, external clock
@@ -427,7 +427,7 @@ clock:	setb	IOA.0		; SCLK = 1
         rl      a               ; next Bit
         djnz    R2,bitlp
 
-	;; continue the aquisition (already started)
+	;; continue the acquisition (already started)
 	clr	IOA.2		; clear the DIN bit
 	mov 	R2,#5		; five steps for the aquision
 clockaq:setb	IOA.0		; SCLK = 1
@@ -473,7 +473,7 @@ zerob2:	mov	a,r5		; get r5 in order to shift the mask
 	
 
 	
-;;; aquires data from A/D channels and stores them in the EP6 buffer
+;;; acquires data from A/D channels and stores them in the EP6 buffer
 conv_ad:
 	mov	AUTOPTRH1,#0F8H	; auto pointer on EP6
 	mov	AUTOPTRL1,#00H
@@ -499,7 +499,7 @@ convloop:
 
 
 
-;;; initilise the transfer
+;;; initialize the transfer
 ;;; It is assumed that the USB interface is in alternate setting 3
 initeps:
 	mov	dptr,#FIFORESET
@@ -541,7 +541,7 @@ initeps:
 	mov	a,#00h
 	movx	@DPTR,a		; can receive data
 	lcall	syncdelay	; wait until we can write again
-	movx	@dptr,a		; make shure its really empty
+	movx	@dptr,a		; make sure its really empty
 	lcall	syncdelay	; wait
 
 	mov	DPTR,#EP6CFG	; ISO data from here to the host
@@ -560,7 +560,7 @@ initeps:
 	mov	a,#10100000b
 	movx	@dptr,a
 
-	;; enable interrups
+	;; enable interrupts
         mov     DPTR,#USBIE	; USB int enables register
         mov     a,#2            ; enables SOF (1ms/125us interrupt)
         movx    @DPTR,a         ; 
diff --git a/usbdux/usbduxfast_firmware.asm b/usbdux/usbduxfast_firmware.asm
index 0d8e7f80..fa946893 100644
--- a/usbdux/usbduxfast_firmware.asm
+++ b/usbdux/usbduxfast_firmware.asm
@@ -158,7 +158,7 @@ ep8_isr:
 
 		
 ;;; main program
-;;; basically only initialises the processor and
+;;; basically only initializes the processor and
 ;;; then engages in an endless loop
 main:
 	mov	dptr,#REVCTL
@@ -254,7 +254,7 @@ initGPIF:
 	mov	dptr,#EP6GPIFFLGSEL
 	lcall	syncdelaywr
 
-	mov	a,#00000001b	; stop when buffer overfl
+	mov	a,#00000001b	; stop when buffer overflow
 	mov	dptr,#EP6GPIFPDFSTOP
 	lcall	syncdelaywr
 
@@ -294,7 +294,7 @@ initGPIF:
 
 
 
-;;; initilise the transfer
+;;; initialize the transfer
 ;;; It is assumed that the USB interface is in alternate setting 1
 initeps:
 	mov	DPTR,#EP4CFG
diff --git a/usbdux/usbduxsigma_firmware.asm b/usbdux/usbduxsigma_firmware.asm
index 38f5f0e8..89808ffa 100644
--- a/usbdux/usbduxsigma_firmware.asm
+++ b/usbdux/usbduxsigma_firmware.asm
@@ -288,7 +288,7 @@ noepsubmit:
 	
 		
 ;;; main program
-;;; basically only initialises the processor and
+;;; basically only initializes the processor and
 ;;; then engages in an endless loop
 main:
 	mov	DPTR,#CPUCS	; CPU control register
@@ -332,10 +332,10 @@ mloop2:	nop
 	sjmp	mloop2		; loop for ever
 
 
-;;; initialise the ports for the AD-converter
+;;; initialize the ports for the AD-converter
 initAD:
 	mov	r0,#MAXSMPL	; length of channellist
-	mov	@r0,#0		; we don't want to accumlate samples
+	mov	@r0,#0		; we don't want to accumulate samples
 
 	mov	ASYNC_ON,#0	; async enable
 
@@ -348,7 +348,7 @@ initAD:
 	mov	a,#10100000b	; gpif, 30MHz, internal IFCLK -> 15MHz for AD
 	lcall	syncdelaywr
 
-	mov	SCON0,#013H	; ser rec en, TX/RX: stop, 48/12MHz=4MHz clock
+	mov	SCON0,#013H	; set rec en, TX/RX: stop, 48/12MHz=4MHz clock
 	
 	mov	dptr,#PORTECFG
 	mov	a,#00001000b	; special function for port E: RXD0OUT
@@ -458,7 +458,7 @@ registerWrite:
 
 
 
-;;; initilise the endpoints
+;;; initialize the endpoints
 initeps:
 	mov	dptr,#FIFORESET
 	mov	a,#80H		
@@ -499,7 +499,7 @@ initeps:
 	mov	a,#00h
 	movx	@DPTR,a		; can receive data
 	lcall	syncdelay	; wait until we can write again
-	movx	@dptr,a		; make shure its really empty
+	movx	@dptr,a		; make sure its really empty
 	lcall	syncdelay	; wait
 
 	mov	DPTR,#EP6CFG	; ISO data from here to the host
@@ -844,7 +844,7 @@ startadcint:
 
 	movx	a,@dptr		; interval is the 1st byte
 	inc	dptr		; data pointer
-	sjmp	startadc2	; the other paramters as with startadc
+	sjmp	startadc2	; the other parameters as with startadc
 	
 ;;; config AD:
 ;;; we write to the registers of the A/D converter
-- 
2.25.1


  parent reply	other threads:[~2023-08-15 18:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15 17:59 [PATCH 00/20] Add preparations to be able to run in a CI/CD system Mario Limonciello
2023-08-15 17:59 ` [PATCH 01/20] ath11k: update typographical errors in the Notice.txt files Mario Limonciello
2023-08-15 18:00 ` [PATCH 02/20] ath10k: correct " Mario Limonciello
2023-08-15 18:00 ` [PATCH 03/20] i915: correct typographical errors caught by codespell Mario Limonciello
2023-08-15 18:00 ` [PATCH 04/20] adsp_sst: " Mario Limonciello
2023-08-15 18:00 ` [PATCH 05/20] agere: correct typographical errors in LICENSE " Mario Limonciello
2023-08-15 18:00 ` [PATCH 06/20] qca: correct typographical errors in NOTICE.txt " Mario Limonciello
2023-08-15 18:00 ` Mario Limonciello [this message]
2023-08-15 18:00 ` [PATCH 08/20] dsp56k: correct typographical error " Mario Limonciello
2023-08-15 18:00 ` [PATCH 09/20] cxgb4: correct typographical errors " Mario Limonciello
2023-08-15 18:00 ` [PATCH 10/20] cavium_liquidio: fix " Mario Limonciello
2023-08-15 18:00 ` [PATCH 11/20] kaweth: correct " Mario Limonciello
2023-08-15 18:00 ` [PATCH 12/20] xc5000c: " Mario Limonciello
2023-08-15 18:00 ` [PATCH 13/20] qcom: " Mario Limonciello
2023-08-15 18:00 ` [PATCH 14/20] keyspan_pda: " Mario Limonciello
2023-08-15 18:00 ` [PATCH 15/20] carl9170fw: " Mario Limonciello
2023-08-15 18:00 ` [PATCH 16/20] WHENCE: " Mario Limonciello
2023-08-15 18:00 ` [PATCH 17/20] check_whence: reformat using python black Mario Limonciello
2023-08-15 18:00 ` [PATCH 18/20] Add CI/CD with ci-fairy Mario Limonciello
2023-08-15 18:00 ` [PATCH 19/20] Wire up pre-commit to `make check` Mario Limonciello
2023-08-15 18:00 ` [PATCH 20/20] Rewrite README in markdown Mario Limonciello
2023-08-25 17:22 ` [PATCH 00/20] Add preparations to be able to run in a CI/CD system Dmitry Baryshkov
2023-08-28 11:15   ` Josh Boyer
2023-08-30 15:51     ` Mario Limonciello

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230815180018.25554-8-mario.limonciello@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=jwboyer@kernel.org \
    --cc=linux-firmware@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox