Commit ad806454 authored by Flavio Suligoi's avatar Flavio Suligoi Committed by Kalle Valo

orinoco_usb: fix spelling mistake

Fix typo: "EZUSB_REQUEST_TRIGER" --> "EZUSB_REQUEST_TRIGGER"
Signed-off-by: default avatarFlavio Suligoi <f.suligoi@asem.it>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200619093102.29487-1-f.suligoi@asem.it
parent 97794e63
...@@ -158,7 +158,7 @@ MODULE_FIRMWARE("orinoco_ezusb_fw"); ...@@ -158,7 +158,7 @@ MODULE_FIRMWARE("orinoco_ezusb_fw");
#define EZUSB_REQUEST_FW_TRANS 0xA0 #define EZUSB_REQUEST_FW_TRANS 0xA0
#define EZUSB_REQUEST_TRIGER 0xAA #define EZUSB_REQUEST_TRIGGER 0xAA
#define EZUSB_REQUEST_TRIG_AC 0xAC #define EZUSB_REQUEST_TRIG_AC 0xAC
#define EZUSB_CPUCS_REG 0x7F92 #define EZUSB_CPUCS_REG 0x7F92
...@@ -1318,12 +1318,12 @@ static int ezusb_hard_reset(struct orinoco_private *priv) ...@@ -1318,12 +1318,12 @@ static int ezusb_hard_reset(struct orinoco_private *priv)
netdev_dbg(upriv->dev, "sending control message\n"); netdev_dbg(upriv->dev, "sending control message\n");
retval = usb_control_msg(upriv->udev, retval = usb_control_msg(upriv->udev,
usb_sndctrlpipe(upriv->udev, 0), usb_sndctrlpipe(upriv->udev, 0),
EZUSB_REQUEST_TRIGER, EZUSB_REQUEST_TRIGGER,
USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_TYPE_VENDOR | USB_RECIP_DEVICE |
USB_DIR_OUT, 0x0, 0x0, NULL, 0, USB_DIR_OUT, 0x0, 0x0, NULL, 0,
DEF_TIMEOUT); DEF_TIMEOUT);
if (retval < 0) { if (retval < 0) {
err("EZUSB_REQUEST_TRIGER failed retval %d", retval); err("EZUSB_REQUEST_TRIGGER failed retval %d", retval);
return retval; return retval;
} }
#if 0 #if 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment