diff mbox series

[1/1] net: wireless: intersil: orinoco: fix spelling mistake

Message ID 20200619093102.29487-1-f.suligoi@asem.it (mailing list archive)
State Accepted
Commit ad806454c3cb5cf0b28ebcfaedfaa3ad4bb4a65a
Delegated to: Kalle Valo
Headers show
Series [1/1] net: wireless: intersil: orinoco: fix spelling mistake | expand

Commit Message

Flavio Suligoi June 19, 2020, 9:31 a.m. UTC
Fix typo: "EZUSB_REQUEST_TRIGER" --> "EZUSB_REQUEST_TRIGGER"

Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
---
 drivers/net/wireless/intersil/orinoco/orinoco_usb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Kalle Valo June 22, 2020, 2:18 p.m. UTC | #1
Flavio Suligoi <f.suligoi@asem.it> writes:

> Fix typo: "EZUSB_REQUEST_TRIGER" --> "EZUSB_REQUEST_TRIGGER"
>
> Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
> ---
>  drivers/net/wireless/intersil/orinoco/orinoco_usb.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

The prefix should be "orinoco_usb: ", but I can fix that.
Flavio Suligoi June 22, 2020, 2:36 p.m. UTC | #2
Hi Kalle,

> 
> Flavio Suligoi <f.suligoi@asem.it> writes:
> 
> > Fix typo: "EZUSB_REQUEST_TRIGER" --> "EZUSB_REQUEST_TRIGGER"
> >
> > Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>
> > ---
> >  drivers/net/wireless/intersil/orinoco/orinoco_usb.c | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> The prefix should be "orinoco_usb: ", but I can fix that.

ok, thank you!

Flavio

> 
> --
> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpat
> ches
Kalle Valo July 15, 2020, 10:36 a.m. UTC | #3
Flavio Suligoi <f.suligoi@asem.it> wrote:

> Fix typo: "EZUSB_REQUEST_TRIGER" --> "EZUSB_REQUEST_TRIGGER"
> 
> Signed-off-by: Flavio Suligoi <f.suligoi@asem.it>

Patch applied to wireless-drivers-next.git, thanks.

ad806454c3cb orinoco_usb: fix spelling mistake
diff mbox series

Patch

diff --git a/drivers/net/wireless/intersil/orinoco/orinoco_usb.c b/drivers/net/wireless/intersil/orinoco/orinoco_usb.c
index 651c676b5506..11fa38fedd87 100644
--- a/drivers/net/wireless/intersil/orinoco/orinoco_usb.c
+++ b/drivers/net/wireless/intersil/orinoco/orinoco_usb.c
@@ -158,7 +158,7 @@  MODULE_FIRMWARE("orinoco_ezusb_fw");
 
 
 #define EZUSB_REQUEST_FW_TRANS		0xA0
-#define EZUSB_REQUEST_TRIGER		0xAA
+#define EZUSB_REQUEST_TRIGGER		0xAA
 #define EZUSB_REQUEST_TRIG_AC		0xAC
 #define EZUSB_CPUCS_REG			0x7F92
 
@@ -1318,12 +1318,12 @@  static int ezusb_hard_reset(struct orinoco_private *priv)
 	netdev_dbg(upriv->dev, "sending control message\n");
 	retval = usb_control_msg(upriv->udev,
 				 usb_sndctrlpipe(upriv->udev, 0),
-				 EZUSB_REQUEST_TRIGER,
+				 EZUSB_REQUEST_TRIGGER,
 				 USB_TYPE_VENDOR | USB_RECIP_DEVICE |
 				 USB_DIR_OUT, 0x0, 0x0, NULL, 0,
 				 DEF_TIMEOUT);
 	if (retval < 0) {
-		err("EZUSB_REQUEST_TRIGER failed retval %d", retval);
+		err("EZUSB_REQUEST_TRIGGER failed retval %d", retval);
 		return retval;
 	}
 #if 0