Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] USB: Spelling fixes for drivers/usb.

Here are some spelling corrections for drivers/usb.

cancelation -> cancellation
succesful -> successful
cancelation -> cancellation
decriptor -> descriptor
Initalize -> Initialize
wierd -> weird
Protocoll -> Protocol
occured -> occurred
successfull -> successful
Procesing -> Processing
devide -> divide
Isochronuous -> Isochronous
noticable -> noticeable
Basicly -> Basically
transfering -> transferring
intialize -> initialize
Incomming -> Incoming
additionnal -> additional
asume -> assume
Unfortunatly -> Unfortunately
retreive -> retrieve
tranceiver -> transceiver
Compatiblity -> Compatibility
Incorprated -> Incorporated
existance -> existence
Ununsual -> Unusual

Signed-off-by: Steven Cole <elenstev@mesatop.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Steven Cole and committed by
Greg KH
093cf723 7b1cbeba

+34 -34
+2 -2
drivers/usb/core/message.c
··· 431 431 * (2) error, where io->status is a negative errno value. The number 432 432 * of io->bytes transferred before the error is usually less 433 433 * than requested, and can be nonzero. 434 - * (3) cancelation, a type of error with status -ECONNRESET that 434 + * (3) cancellation, a type of error with status -ECONNRESET that 435 435 * is initiated by usb_sg_cancel(). 436 436 * 437 437 * When this function returns, all memory allocated through usb_sg_init() or ··· 1282 1282 * bus rwsem; usb device driver probe() methods cannot use this routine. 1283 1283 * 1284 1284 * Returns zero on success, or else the status code returned by the 1285 - * underlying call that failed. On succesful completion, each interface 1285 + * underlying call that failed. On successful completion, each interface 1286 1286 * in the original device configuration has been destroyed, and each one 1287 1287 * in the new configuration has been probed by all relevant usb device 1288 1288 * drivers currently known to the kernel.
+3 -3
drivers/usb/core/urb.c
··· 121 121 * describing that request to the USB subsystem. Request completion will 122 122 * be indicated later, asynchronously, by calling the completion handler. 123 123 * The three types of completion are success, error, and unlink 124 - * (a software-induced fault, also called "request cancelation"). 124 + * (a software-induced fault, also called "request cancellation"). 125 125 * 126 126 * URBs may be submitted in interrupt context. 127 127 * ··· 170 170 * As of Linux 2.6, all USB endpoint transfer queues support depths greater 171 171 * than one. This was previously a HCD-specific behavior, except for ISO 172 172 * transfers. Non-isochronous endpoint queues are inactive during cleanup 173 - * after faults (transfer errors or cancelation). 173 + * after faults (transfer errors or cancellation). 174 174 * 175 175 * Reserved Bandwidth Transfers: 176 176 * ··· 395 395 * 396 396 * This routine cancels an in-progress request. URBs complete only 397 397 * once per submission, and may be canceled only once per submission. 398 - * Successful cancelation means the requests's completion handler will 398 + * Successful cancellation means the requests's completion handler will 399 399 * be called with a status code indicating that the request has been 400 400 * canceled (rather than any other code) and will quickly be removed 401 401 * from host controller data structures.
+1 -1
drivers/usb/gadget/ether.c
··· 569 569 570 570 /* include the status endpoint if we can, even where it's optional. 571 571 * use wMaxPacketSize big enough to fit CDC_NOTIFY_SPEED_CHANGE in one 572 - * packet, to simplify cancelation; and a big transfer interval, to 572 + * packet, to simplify cancellation; and a big transfer interval, to 573 573 * waste less bandwidth. 574 574 * 575 575 * some drivers (like Linux 2.4 cdc-ether!) "need" it to exist even
+1 -1
drivers/usb/gadget/inode.c
··· 275 275 * 276 276 * After opening, configure non-control endpoints. Then use normal 277 277 * stream read() and write() requests; and maybe ioctl() to get more 278 - * precise FIFO status when recovering from cancelation. 278 + * precise FIFO status when recovering from cancellation. 279 279 */ 280 280 281 281 static void epio_complete (struct usb_ep *ep, struct usb_request *req)
+1 -1
drivers/usb/gadget/lh7a40x_udc.c
··· 705 705 done(ep, req, status); 706 706 } 707 707 708 - /* Disable IRQ if EP is enabled (has decriptor) */ 708 + /* Disable IRQ if EP is enabled (has descriptor) */ 709 709 if (ep->desc) 710 710 pio_irq_disable(ep_index(ep)); 711 711 }
+1 -1
drivers/usb/gadget/serial.c
··· 240 240 struct usb_ep *dev_notify_ep; /* address of notify endpoint */ 241 241 struct usb_ep *dev_in_ep; /* address of in endpoint */ 242 242 struct usb_ep *dev_out_ep; /* address of out endpoint */ 243 - struct usb_endpoint_descriptor /* desciptor of notify ep */ 243 + struct usb_endpoint_descriptor /* descriptor of notify ep */ 244 244 *dev_notify_ep_desc; 245 245 struct usb_endpoint_descriptor /* descriptor of in endpoint */ 246 246 *dev_in_ep_desc;
+1 -1
drivers/usb/host/hc_crisv10.c
··· 4329 4329 bus->bus_name="ETRAX 100LX"; 4330 4330 bus->hcpriv = hc; 4331 4331 4332 - /* Initalize RH to the default address. 4332 + /* Initialize RH to the default address. 4333 4333 And make sure that we have no status change indication */ 4334 4334 hc->rh.numports = 2; /* The RH has two ports */ 4335 4335 hc->rh.devnum = 1;
+2 -2
drivers/usb/host/sl811-hcd.c
··· 134 134 135 135 /* This is a PIO-only HCD. Queueing appends URBs to the endpoint's queue, 136 136 * and may start I/O. Endpoint queues are scanned during completion irq 137 - * handlers (one per packet: ACK, NAK, faults, etc) and urb cancelation. 137 + * handlers (one per packet: ACK, NAK, faults, etc) and urb cancellation. 138 138 * 139 139 * Using an external DMA engine to copy a packet at a time could work, 140 140 * though setup/teardown costs may be too big to make it worthwhile. ··· 738 738 } 739 739 #endif 740 740 741 - /* port status seems wierd until after reset, so 741 + /* port status seems weird until after reset, so 742 742 * force the reset and make khubd clean up later. 743 743 */ 744 744 sl811->port1 |= (1 << USB_PORT_FEAT_C_CONNECTION)
+1 -1
drivers/usb/image/mdc800.c
··· 23 23 * 24 24 * 25 25 * The driver brings the USB functions of the MDC800 to Linux. 26 - * To use the Camera you must support the USB Protocoll of the camera 26 + * To use the Camera you must support the USB Protocol of the camera 27 27 * to the Kernel Node. 28 28 * The Driver uses a misc device Node. Create it with : 29 29 * mknod /dev/mustek c 180 32
+1 -1
drivers/usb/input/aiptek.c
··· 386 386 * convention above.) I therefore have taken over REL_MISC and ABS_MISC 387 387 * (for relative and absolute reports, respectively) for communicating 388 388 * Proximity. Why two events? I thought it interesting to know if the 389 - * Proximity event occured while the tablet was in absolute or relative 389 + * Proximity event occurred while the tablet was in absolute or relative 390 390 * mode. 391 391 * 392 392 * Other tablets use the notion of a certain minimum stylus pressure
+1 -1
drivers/usb/input/mtouchusb.c
··· 32 32 * Changed reset from standard USB dev reset to vendor reset 33 33 * Changed data sent to host from compensated to raw coordinates 34 34 * Eliminated vendor/product module params 35 - * Performed multiple successfull tests with an EXII-5010UC 35 + * Performed multiple successful tests with an EXII-5010UC 36 36 * 37 37 * 1.5 02/27/2005 ddstreet@ieee.org 38 38 * Added module parameter to select raw or hw-calibrated coordinate reporting
+1 -1
drivers/usb/media/ov511.c
··· 5041 5041 { OV511_I2C_BUS, 0x2a, 0x04 }, /* Disable framerate adjust */ 5042 5042 // { OV511_I2C_BUS, 0x2b, 0xac }, /* Framerate; Set 2a[7] first */ 5043 5043 { OV511_I2C_BUS, 0x2d, 0x99 }, 5044 - { OV511_I2C_BUS, 0x33, 0xa0 }, /* Color Procesing Parameter */ 5044 + { OV511_I2C_BUS, 0x33, 0xa0 }, /* Color Processing Parameter */ 5045 5045 { OV511_I2C_BUS, 0x34, 0xd2 }, /* Max A/D range */ 5046 5046 { OV511_I2C_BUS, 0x38, 0x8b }, 5047 5047 { OV511_I2C_BUS, 0x39, 0x40 },
+1 -1
drivers/usb/media/pwc/pwc-ctrl.c
··· 1100 1100 unsigned char buf[4]; 1101 1101 1102 1102 /* set new relative angle; angles are expressed in degrees * 100, 1103 - but cam as .5 degree resolution, hence devide by 200. Also 1103 + but cam as .5 degree resolution, hence divide by 200. Also 1104 1104 the angle must be multiplied by 64 before it's send to 1105 1105 the cam (??) 1106 1106 */
+3 -3
drivers/usb/media/pwc/pwc-if.c
··· 272 272 return -ENXIO; 273 273 } 274 274 #endif 275 - /* Allocate Isochronuous pipe buffers */ 275 + /* Allocate Isochronous pipe buffers */ 276 276 for (i = 0; i < MAX_ISO_BUFS; i++) { 277 277 if (pdev->sbuf[i].data == NULL) { 278 278 kbuf = kmalloc(ISO_BUFFER_SIZE, GFP_KERNEL); ··· 850 850 851 851 if (pdev->vmax_packet_size < 0 || pdev->vmax_packet_size > ISO_MAX_FRAME_SIZE) { 852 852 Err("Failed to find packet size for video endpoint in current alternate setting.\n"); 853 - return -ENFILE; /* Odd error, that should be noticable */ 853 + return -ENFILE; /* Odd error, that should be noticeable */ 854 854 } 855 855 856 856 /* Set alternate interface */ ··· 2128 2128 if (leds[1] >= 0) 2129 2129 led_off = leds[1]; 2130 2130 2131 - /* Big device node whoopla. Basicly, it allows you to assign a 2131 + /* Big device node whoopla. Basically, it allows you to assign a 2132 2132 device node (/dev/videoX) to a camera, based on its type 2133 2133 & serial number. The format is [type[.serialnumber]:]node. 2134 2134
+1 -1
drivers/usb/media/pwc/pwc-ioctl.h
··· 75 75 #define PWC_FPS_SNAPSHOT 0x00400000 76 76 77 77 78 - /* structure for transfering x & y coordinates */ 78 + /* structure for transferring x & y coordinates */ 79 79 struct pwc_coord 80 80 { 81 81 int x, y; /* guess what */
+1 -1
drivers/usb/misc/legousbtower.c
··· 859 859 info ("udev is NULL."); 860 860 } 861 861 862 - /* allocate memory for our device state and intialize it */ 862 + /* allocate memory for our device state and initialize it */ 863 863 864 864 dev = kmalloc (sizeof(struct lego_usb_tower), GFP_KERNEL); 865 865
+4 -4
drivers/usb/net/zd1201.c
··· 183 183 return; 184 184 } 185 185 186 - /* Incomming data */ 186 + /* Incoming data */ 187 187 static void zd1201_usbrx(struct urb *urb, struct pt_regs *regs) 188 188 { 189 189 struct zd1201 *zd = urb->context; ··· 772 772 /* 773 773 RFC 1042 encapsulates Ethernet frames in 802.11 frames 774 774 by prefixing them with 0xaa, 0xaa, 0x03) followed by a SNAP OID of 0 775 - (0x00, 0x00, 0x00). Zd requires an additionnal padding, copy 775 + (0x00, 0x00, 0x00). Zd requires an additional padding, copy 776 776 of ethernet addresses, length of the standard RFC 1042 packet 777 777 and a command byte (which is nul for tx). 778 778 ··· 1098 1098 1099 1099 /* Little bit of magic here: we only get the quality if we poll 1100 1100 * for it, and we never get an actual request to trigger such 1101 - * a poll. Therefore we 'asume' that the user will soon ask for 1101 + * a poll. Therefore we 'assume' that the user will soon ask for 1102 1102 * the stats after asking the bssid. 1103 1103 */ 1104 1104 static int zd1201_get_wap(struct net_device *dev, ··· 1108 1108 unsigned char buffer[6]; 1109 1109 1110 1110 if (!zd1201_getconfig(zd, ZD1201_RID_COMMSQUALITY, buffer, 6)) { 1111 - /* Unfortunatly the quality and noise reported is useless. 1111 + /* Unfortunately the quality and noise reported is useless. 1112 1112 they seem to be accumulators that increase until you 1113 1113 read them, unless we poll on a fixed interval we can't 1114 1114 use them
+1 -1
drivers/usb/serial/cypress_m8.c
··· 234 234 *****************************************************************************/ 235 235 236 236 237 - /* This function can either set or retreive the current serial line settings */ 237 + /* This function can either set or retrieve the current serial line settings */ 238 238 static int cypress_serial_control (struct usb_serial_port *port, unsigned baud_mask, int data_bits, int stop_bits, 239 239 int parity_enable, int parity_type, int reset, int cypress_request_type) 240 240 {
+2 -2
drivers/usb/serial/ftdi_sio.c
··· 76 76 * Defererence pointers after any paranoid checks, not before. 77 77 * 78 78 * (21/Jun/2003) Erik Nygren 79 - * Added support for Home Electronics Tira-1 IR tranceiver using FT232BM chip. 79 + * Added support for Home Electronics Tira-1 IR transceiver using FT232BM chip. 80 80 * See <http://www.home-electro.com/tira1.htm>. Only operates properly 81 81 * at 100000 and RTS-CTS, so set custom divisor mode on startup. 82 82 * Also force the Tira-1 and USB-UIRT to only use their custom baud rates. ··· 91 91 * Minor whitespace and comment changes. 92 92 * 93 93 * (12/Jun/2003) David Norwood 94 - * Added support for USB-UIRT IR tranceiver using 8U232AM chip. 94 + * Added support for USB-UIRT IR transceiver using 8U232AM chip. 95 95 * See <http://home.earthlink.net/~jrhees/USBUIRT/index.htm>. Only 96 96 * operates properly at 312500, so set custom divisor mode on startup. 97 97 *
+1 -1
drivers/usb/serial/ftdi_sio.h
··· 136 136 /* 137 137 * Home Electronics (www.home-electro.com) USB gadgets 138 138 */ 139 - #define FTDI_HE_TIRA1_PID 0xFA78 /* Tira-1 IR tranceiver */ 139 + #define FTDI_HE_TIRA1_PID 0xFA78 /* Tira-1 IR transceiver */ 140 140 141 141 /* USB-UIRT - An infrared receiver and transmitter using the 8U232AM chip */ 142 142 /* http://home.earthlink.net/~jrhees/USBUIRT/index.htm */
+1 -1
drivers/usb/serial/io_usbvend.h
··· 289 289 // 290 290 291 291 // 292 - // Edgeport Compatiblity Descriptor 292 + // Edgeport Compatibility Descriptor 293 293 // 294 294 // This descriptor is only returned by Edgeport-compatible devices 295 295 // supporting the EPiC spec. True ION devices do not return this
+1 -1
drivers/usb/serial/keyspan_usa90msg.h
··· 19 19 20 20 This file is available under a BSD-style copyright 21 21 22 - 2. The name of InnoSys Incorprated may not be used to endorse or promote 22 + 2. The name of InnoSys Incorporated may not be used to endorse or promote 23 23 products derived from this software without specific prior written 24 24 permission. 25 25
+1 -1
drivers/usb/storage/shuttle_usbat.c
··· 786 786 if (rc != USB_STOR_XFER_GOOD) 787 787 return USB_STOR_TRANSPORT_ERROR; 788 788 789 - // Check for media existance 789 + // Check for media existence 790 790 rc = usbat_flash_check_media_present(uio); 791 791 if (rc == USBAT_FLASH_MEDIA_NONE) { 792 792 info->sense_key = 0x02;
+1 -1
drivers/usb/storage/unusual_devs.h
··· 1 1 /* Driver for USB Mass Storage compliant devices 2 - * Ununsual Devices File 2 + * Unusual Devices File 3 3 * 4 4 * $Id: unusual_devs.h,v 1.32 2002/02/25 02:41:24 mdharm Exp $ 5 5 *