2023-12-27 01:38:57

by YouHong Li

[permalink] [raw]
Subject: [PATCH v2] drivers/isdn/hardware/mISDN/w6692.c: Fix spelling typo in comment

Fix spelling typo in comment.

Reported-by: k2ci <[email protected]>
Signed-off-by: YouHong Li <[email protected]>
Reviewed-by: Simon Horman <[email protected]>

---
v1->v2
*Fix spelling typo in comment oscilator ==> oscillator
---
diff --git a/drivers/isdn/hardware/mISDN/w6692.c b/drivers/isdn/hardware/mISDN/w6692.c
index 6f60aced11c5..69d23e732e85 100644
--- a/drivers/isdn/hardware/mISDN/w6692.c
+++ b/drivers/isdn/hardware/mISDN/w6692.c
@@ -788,7 +788,7 @@ w6692_irq(int intno, void *dev_id)
spin_lock(&card->lock);
ista = ReadW6692(card, W_ISTA);
if ((ista | card->imask) == card->imask) {
- /* possible a shared IRQ reqest */
+ /* possible a shared IRQ request */
spin_unlock(&card->lock);
return IRQ_NONE;
}
@@ -873,7 +873,7 @@ static void initW6692(struct w6692_hw *card)
/* enable peripheral */
if (card->subtype == W6692_USR) {
/* seems that USR implemented some power control features
- * Pin 79 is connected to the oscilator circuit so we
+ * Pin 79 is connected to the oscillator circuit so we
* have to handle it here
*/
card->pctl = 0x80;
--
2.34.1



2023-12-27 02:08:39

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH v2] drivers/isdn/hardware/mISDN/w6692.c: Fix spelling typo in comment



On 12/26/23 17:37, YouHong Li wrote:
> Fix spelling typo in comment.
>
> Reported-by: k2ci <[email protected]>
> Signed-off-by: YouHong Li <[email protected]>
> Reviewed-by: Simon Horman <[email protected]>
>
> ---
> v1->v2
> *Fix spelling typo in comment oscilator ==> oscillator
> ---
> diff --git a/drivers/isdn/hardware/mISDN/w6692.c b/drivers/isdn/hardware/mISDN/w6692.c
> index 6f60aced11c5..69d23e732e85 100644
> --- a/drivers/isdn/hardware/mISDN/w6692.c
> +++ b/drivers/isdn/hardware/mISDN/w6692.c
> @@ -788,7 +788,7 @@ w6692_irq(int intno, void *dev_id)
> spin_lock(&card->lock);
> ista = ReadW6692(card, W_ISTA);
> if ((ista | card->imask) == card->imask) {
> - /* possible a shared IRQ reqest */
> + /* possible a shared IRQ request */

or possibly

> spin_unlock(&card->lock);
> return IRQ_NONE;
> }
> @@ -873,7 +873,7 @@ static void initW6692(struct w6692_hw *card)
> /* enable peripheral */
> if (card->subtype == W6692_USR) {
> /* seems that USR implemented some power control features
> - * Pin 79 is connected to the oscilator circuit so we
> + * Pin 79 is connected to the oscillator circuit so we
> * have to handle it here
> */
> card->pctl = 0x80;

--
#Randy