diff options
-rw-r--r-- | drivers/mmc/host/vub300.c | 4 | ||||
-rw-r--r-- | drivers/net/wan/lmc/lmc_var.h | 2 | ||||
-rw-r--r-- | drivers/usb/misc/ftdi-elan.c | 28 | ||||
-rw-r--r-- | include/scsi/osd_initiator.h | 2 | ||||
-rw-r--r-- | sound/soc/omap/ams-delta.c | 2 |
5 files changed, 19 insertions, 19 deletions
diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c index cbb03305b77b..147f28f10946 100644 --- a/drivers/mmc/host/vub300.c +++ b/drivers/mmc/host/vub300.c | |||
@@ -1625,8 +1625,8 @@ static void __vub300_command_response(struct vub300_mmc_host *vub300, | |||
1625 | cmd->error = respretval; | 1625 | cmd->error = respretval; |
1626 | } else if (cmd->error) { | 1626 | } else if (cmd->error) { |
1627 | /* | 1627 | /* |
1628 | * the error occured sending the command | 1628 | * the error occurred sending the command |
1629 | * or recieving the response | 1629 | * or receiving the response |
1630 | */ | 1630 | */ |
1631 | } else if (vub300->command_out_urb->status) { | 1631 | } else if (vub300->command_out_urb->status) { |
1632 | vub300->usb_transport_fail = vub300->command_out_urb->status; | 1632 | vub300->usb_transport_fail = vub300->command_out_urb->status; |
diff --git a/drivers/net/wan/lmc/lmc_var.h b/drivers/net/wan/lmc/lmc_var.h index 01ad45218d19..a1d202d8ad67 100644 --- a/drivers/net/wan/lmc/lmc_var.h +++ b/drivers/net/wan/lmc/lmc_var.h | |||
@@ -380,7 +380,7 @@ struct lmc___softc { | |||
380 | /* CSR6 settings */ | 380 | /* CSR6 settings */ |
381 | #define OPERATION_MODE 0x00000200 /* Full Duplex */ | 381 | #define OPERATION_MODE 0x00000200 /* Full Duplex */ |
382 | #define PROMISC_MODE 0x00000040 /* Promiscuous Mode */ | 382 | #define PROMISC_MODE 0x00000040 /* Promiscuous Mode */ |
383 | #define RECIEVE_ALL 0x40000000 /* Receive All */ | 383 | #define RECEIVE_ALL 0x40000000 /* Receive All */ |
384 | #define PASS_BAD_FRAMES 0x00000008 /* Pass Bad Frames */ | 384 | #define PASS_BAD_FRAMES 0x00000008 /* Pass Bad Frames */ |
385 | 385 | ||
386 | /* Dec control registers CSR6 as well */ | 386 | /* Dec control registers CSR6 as well */ |
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index b16bd3ce3915..2f41089cd854 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-elan.c | |||
@@ -187,7 +187,7 @@ struct usb_ftdi { | |||
187 | u32 controlreg; | 187 | u32 controlreg; |
188 | u8 response[4 + 1024]; | 188 | u8 response[4 + 1024]; |
189 | int expected; | 189 | int expected; |
190 | int recieved; | 190 | int received; |
191 | int ed_found; | 191 | int ed_found; |
192 | }; | 192 | }; |
193 | #define kref_to_usb_ftdi(d) container_of(d, struct usb_ftdi, kref) | 193 | #define kref_to_usb_ftdi(d) container_of(d, struct usb_ftdi, kref) |
@@ -353,7 +353,7 @@ static void ftdi_elan_abandon_targets(struct usb_ftdi *ftdi) | |||
353 | mutex_lock(&ftdi->u132_lock); | 353 | mutex_lock(&ftdi->u132_lock); |
354 | } | 354 | } |
355 | } | 355 | } |
356 | ftdi->recieved = 0; | 356 | ftdi->received = 0; |
357 | ftdi->expected = 4; | 357 | ftdi->expected = 4; |
358 | ftdi->ed_found = 0; | 358 | ftdi->ed_found = 0; |
359 | mutex_unlock(&ftdi->u132_lock); | 359 | mutex_unlock(&ftdi->u132_lock); |
@@ -411,7 +411,7 @@ static void ftdi_elan_flush_targets(struct usb_ftdi *ftdi) | |||
411 | } | 411 | } |
412 | } | 412 | } |
413 | } | 413 | } |
414 | ftdi->recieved = 0; | 414 | ftdi->received = 0; |
415 | ftdi->expected = 4; | 415 | ftdi->expected = 4; |
416 | ftdi->ed_found = 0; | 416 | ftdi->ed_found = 0; |
417 | mutex_unlock(&ftdi->u132_lock); | 417 | mutex_unlock(&ftdi->u132_lock); |
@@ -447,7 +447,7 @@ static void ftdi_elan_cancel_targets(struct usb_ftdi *ftdi) | |||
447 | } | 447 | } |
448 | } | 448 | } |
449 | } | 449 | } |
450 | ftdi->recieved = 0; | 450 | ftdi->received = 0; |
451 | ftdi->expected = 4; | 451 | ftdi->expected = 4; |
452 | ftdi->ed_found = 0; | 452 | ftdi->ed_found = 0; |
453 | mutex_unlock(&ftdi->u132_lock); | 453 | mutex_unlock(&ftdi->u132_lock); |
@@ -874,7 +874,7 @@ static char *have_ed_set_response(struct usb_ftdi *ftdi, | |||
874 | mutex_unlock(&ftdi->u132_lock); | 874 | mutex_unlock(&ftdi->u132_lock); |
875 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, | 875 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, |
876 | payload); | 876 | payload); |
877 | ftdi->recieved = 0; | 877 | ftdi->received = 0; |
878 | ftdi->expected = 4; | 878 | ftdi->expected = 4; |
879 | ftdi->ed_found = 0; | 879 | ftdi->ed_found = 0; |
880 | return ftdi->response; | 880 | return ftdi->response; |
@@ -890,7 +890,7 @@ static char *have_ed_set_response(struct usb_ftdi *ftdi, | |||
890 | mutex_unlock(&ftdi->u132_lock); | 890 | mutex_unlock(&ftdi->u132_lock); |
891 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, | 891 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, |
892 | payload); | 892 | payload); |
893 | ftdi->recieved = 0; | 893 | ftdi->received = 0; |
894 | ftdi->expected = 4; | 894 | ftdi->expected = 4; |
895 | ftdi->ed_found = 0; | 895 | ftdi->ed_found = 0; |
896 | return ftdi->response; | 896 | return ftdi->response; |
@@ -905,7 +905,7 @@ static char *have_ed_set_response(struct usb_ftdi *ftdi, | |||
905 | mutex_unlock(&ftdi->u132_lock); | 905 | mutex_unlock(&ftdi->u132_lock); |
906 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, | 906 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, |
907 | payload); | 907 | payload); |
908 | ftdi->recieved = 0; | 908 | ftdi->received = 0; |
909 | ftdi->expected = 4; | 909 | ftdi->expected = 4; |
910 | ftdi->ed_found = 0; | 910 | ftdi->ed_found = 0; |
911 | return ftdi->response; | 911 | return ftdi->response; |
@@ -914,7 +914,7 @@ static char *have_ed_set_response(struct usb_ftdi *ftdi, | |||
914 | mutex_unlock(&ftdi->u132_lock); | 914 | mutex_unlock(&ftdi->u132_lock); |
915 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, | 915 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, |
916 | payload); | 916 | payload); |
917 | ftdi->recieved = 0; | 917 | ftdi->received = 0; |
918 | ftdi->expected = 4; | 918 | ftdi->expected = 4; |
919 | ftdi->ed_found = 0; | 919 | ftdi->ed_found = 0; |
920 | return ftdi->response; | 920 | return ftdi->response; |
@@ -934,7 +934,7 @@ static char *have_ed_get_response(struct usb_ftdi *ftdi, | |||
934 | if (target->active) | 934 | if (target->active) |
935 | ftdi_elan_do_callback(ftdi, target, NULL, 0); | 935 | ftdi_elan_do_callback(ftdi, target, NULL, 0); |
936 | target->abandoning = 0; | 936 | target->abandoning = 0; |
937 | ftdi->recieved = 0; | 937 | ftdi->received = 0; |
938 | ftdi->expected = 4; | 938 | ftdi->expected = 4; |
939 | ftdi->ed_found = 0; | 939 | ftdi->ed_found = 0; |
940 | return ftdi->response; | 940 | return ftdi->response; |
@@ -951,7 +951,7 @@ static char *have_ed_get_response(struct usb_ftdi *ftdi, | |||
951 | */ | 951 | */ |
952 | static int ftdi_elan_respond_engine(struct usb_ftdi *ftdi) | 952 | static int ftdi_elan_respond_engine(struct usb_ftdi *ftdi) |
953 | { | 953 | { |
954 | u8 *b = ftdi->response + ftdi->recieved; | 954 | u8 *b = ftdi->response + ftdi->received; |
955 | int bytes_read = 0; | 955 | int bytes_read = 0; |
956 | int retry_on_empty = 1; | 956 | int retry_on_empty = 1; |
957 | int retry_on_timeout = 3; | 957 | int retry_on_timeout = 3; |
@@ -1043,11 +1043,11 @@ static int ftdi_elan_respond_engine(struct usb_ftdi *ftdi) | |||
1043 | u8 c = ftdi->bulk_in_buffer[++ftdi->bulk_in_last]; | 1043 | u8 c = ftdi->bulk_in_buffer[++ftdi->bulk_in_last]; |
1044 | bytes_read += 1; | 1044 | bytes_read += 1; |
1045 | ftdi->bulk_in_left -= 1; | 1045 | ftdi->bulk_in_left -= 1; |
1046 | if (ftdi->recieved == 0 && c == 0xFF) { | 1046 | if (ftdi->received == 0 && c == 0xFF) { |
1047 | goto have; | 1047 | goto have; |
1048 | } else | 1048 | } else |
1049 | *b++ = c; | 1049 | *b++ = c; |
1050 | if (++ftdi->recieved < ftdi->expected) { | 1050 | if (++ftdi->received < ftdi->expected) { |
1051 | goto have; | 1051 | goto have; |
1052 | } else if (ftdi->ed_found) { | 1052 | } else if (ftdi->ed_found) { |
1053 | int ed_number = (ftdi->response[0] >> 5) & 0x03; | 1053 | int ed_number = (ftdi->response[0] >> 5) & 0x03; |
@@ -1069,7 +1069,7 @@ static int ftdi_elan_respond_engine(struct usb_ftdi *ftdi) | |||
1069 | } | 1069 | } |
1070 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, | 1070 | ftdi_elan_do_callback(ftdi, target, 4 + ftdi->response, |
1071 | payload); | 1071 | payload); |
1072 | ftdi->recieved = 0; | 1072 | ftdi->received = 0; |
1073 | ftdi->expected = 4; | 1073 | ftdi->expected = 4; |
1074 | ftdi->ed_found = 0; | 1074 | ftdi->ed_found = 0; |
1075 | b = ftdi->response; | 1075 | b = ftdi->response; |
@@ -1089,7 +1089,7 @@ static int ftdi_elan_respond_engine(struct usb_ftdi *ftdi) | |||
1089 | *respond->value = data; | 1089 | *respond->value = data; |
1090 | *respond->result = 0; | 1090 | *respond->result = 0; |
1091 | complete(&respond->wait_completion); | 1091 | complete(&respond->wait_completion); |
1092 | ftdi->recieved = 0; | 1092 | ftdi->received = 0; |
1093 | ftdi->expected = 4; | 1093 | ftdi->expected = 4; |
1094 | ftdi->ed_found = 0; | 1094 | ftdi->ed_found = 0; |
1095 | b = ftdi->response; | 1095 | b = ftdi->response; |
diff --git a/include/scsi/osd_initiator.h b/include/scsi/osd_initiator.h index 0a5079974fe9..572fb5493661 100644 --- a/include/scsi/osd_initiator.h +++ b/include/scsi/osd_initiator.h | |||
@@ -262,7 +262,7 @@ int osd_execute_request_async(struct osd_request *or, | |||
262 | * osd_req_decode_sense_full - Decode sense information after execution. | 262 | * osd_req_decode_sense_full - Decode sense information after execution. |
263 | * | 263 | * |
264 | * @or: - osd_request to examine | 264 | * @or: - osd_request to examine |
265 | * @osi - Recievs a more detailed error report information (optional). | 265 | * @osi - Receives a more detailed error report information (optional). |
266 | * @silent - Do not print to dmsg (Even if enabled) | 266 | * @silent - Do not print to dmsg (Even if enabled) |
267 | * @bad_obj_list - Some commands act on multiple objects. Failed objects will | 267 | * @bad_obj_list - Some commands act on multiple objects. Failed objects will |
268 | * be received here (optional) | 268 | * be received here (optional) |
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index 462cbcbea74a..77682aacbeed 100644 --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c | |||
@@ -330,7 +330,7 @@ static int cx81801_hangup(struct tty_struct *tty) | |||
330 | return 0; | 330 | return 0; |
331 | } | 331 | } |
332 | 332 | ||
333 | /* Line discipline .recieve_buf() */ | 333 | /* Line discipline .receive_buf() */ |
334 | static void cx81801_receive(struct tty_struct *tty, | 334 | static void cx81801_receive(struct tty_struct *tty, |
335 | const unsigned char *cp, char *fp, int count) | 335 | const unsigned char *cp, char *fp, int count) |
336 | { | 336 | { |