Browse Source

Staging: fixed multiple spelling errors.

Fixed multiple spelling errors.

Signed-off-by: Carlos E. Garcia <carlos@cgarcia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Carlos E. Garcia 10 years ago
parent
commit
69e98df782
42 changed files with 65 additions and 65 deletions
  1. 3 3
      drivers/staging/android/ion/ion_priv.h
  2. 1 1
      drivers/staging/android/uapi/ion.h
  3. 1 1
      drivers/staging/comedi/comedi_fops.c
  4. 3 3
      drivers/staging/dgnc/TODO
  5. 1 1
      drivers/staging/dgnc/dgnc_neo.c
  6. 1 1
      drivers/staging/emxx_udc/emxx_udc.c
  7. 1 1
      drivers/staging/fbtft/Kconfig
  8. 1 1
      drivers/staging/fwserial/dma_fifo.c
  9. 1 1
      drivers/staging/fwserial/fwserial.h
  10. 1 1
      drivers/staging/iio/Documentation/device.txt
  11. 1 1
      drivers/staging/iio/iio_simple_dummy.h
  12. 1 1
      drivers/staging/lustre/TODO
  13. 2 2
      drivers/staging/media/bcm2048/radio-bcm2048.c
  14. 2 2
      drivers/staging/octeon-usb/octeon-hcd.c
  15. 1 1
      drivers/staging/octeon-usb/octeon-hcd.h
  16. 2 2
      drivers/staging/rtl8188eu/include/rtl8188e_hal.h
  17. 1 1
      drivers/staging/rtl8192u/r8192U_dm.c
  18. 1 1
      drivers/staging/rtl8712/rtl8712_xmit.c
  19. 1 1
      drivers/staging/rtl8712/rtl871x_mp_phy_regdef.h
  20. 1 1
      drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c
  21. 1 1
      drivers/staging/rtl8723au/hal/odm.c
  22. 1 1
      drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
  23. 1 1
      drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c
  24. 2 2
      drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c
  25. 1 1
      drivers/staging/rtl8723au/hal/rtl8723au_xmit.c
  26. 1 1
      drivers/staging/rtl8723au/hal/usb_halinit.c
  27. 1 1
      drivers/staging/rtl8723au/include/odm_debug.h
  28. 1 1
      drivers/staging/rtl8723au/include/rtl8723a_hal.h
  29. 1 1
      drivers/staging/rtl8723au/include/rtw_cmd.h
  30. 5 5
      drivers/staging/rtl8723au/include/rtw_mlme.h
  31. 1 1
      drivers/staging/rtl8723au/include/rtw_mlme_ext.h
  32. 1 1
      drivers/staging/rtl8723au/include/sta_info.h
  33. 1 1
      drivers/staging/sm750fb/ddk750_help.h
  34. 1 1
      drivers/staging/sm750fb/ddk750_mode.c
  35. 2 2
      drivers/staging/sm750fb/ddk750_reg.h
  36. 2 2
      drivers/staging/sm750fb/ddk750_sii164.c
  37. 4 4
      drivers/staging/sm750fb/readme
  38. 6 6
      drivers/staging/sm750fb/sm750.c
  39. 2 2
      drivers/staging/sm750fb/sm750_accel.c
  40. 1 1
      drivers/staging/sm750fb/sm750_hw.h
  41. 1 1
      drivers/staging/unisys/include/guestlinuxdebug.h
  42. 1 1
      drivers/staging/vt6655/rxtx.c

+ 3 - 3
drivers/staging/android/ion/ion_priv.h

@@ -33,7 +33,7 @@ struct ion_buffer *ion_handle_buffer(struct ion_handle *handle);
 
 
 /**
 /**
  * struct ion_buffer - metadata for a particular buffer
  * struct ion_buffer - metadata for a particular buffer
- * @ref:		refernce count
+ * @ref:		reference count
  * @node:		node in the ion_device buffers tree
  * @node:		node in the ion_device buffers tree
  * @dev:		back pointer to the ion_device
  * @dev:		back pointer to the ion_device
  * @heap:		back pointer to the heap the buffer came from
  * @heap:		back pointer to the heap the buffer came from
@@ -46,7 +46,7 @@ struct ion_buffer *ion_handle_buffer(struct ion_handle *handle);
  *			an ion_phys_addr_t (and someday a phys_addr_t)
  *			an ion_phys_addr_t (and someday a phys_addr_t)
  * @lock:		protects the buffers cnt fields
  * @lock:		protects the buffers cnt fields
  * @kmap_cnt:		number of times the buffer is mapped to the kernel
  * @kmap_cnt:		number of times the buffer is mapped to the kernel
- * @vaddr:		the kenrel mapping if kmap_cnt is not zero
+ * @vaddr:		the kernel mapping if kmap_cnt is not zero
  * @dmap_cnt:		number of times the buffer is mapped for dma
  * @dmap_cnt:		number of times the buffer is mapped for dma
  * @sg_table:		the sg table for the buffer if dmap_cnt is not zero
  * @sg_table:		the sg table for the buffer if dmap_cnt is not zero
  * @pages:		flat array of pages in the buffer -- used by fault
  * @pages:		flat array of pages in the buffer -- used by fault
@@ -266,7 +266,7 @@ void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer);
 /**
 /**
  * ion_heap_freelist_drain - drain the deferred free list
  * ion_heap_freelist_drain - drain the deferred free list
  * @heap:		the heap
  * @heap:		the heap
- * @size:		ammount of memory to drain in bytes
+ * @size:		amount of memory to drain in bytes
  *
  *
  * Drains the indicated amount of memory from the deferred freelist immediately.
  * Drains the indicated amount of memory from the deferred freelist immediately.
  * Returns the total amount freed.  The total freed may be higher depending
  * Returns the total amount freed.  The total freed may be higher depending

+ 1 - 1
drivers/staging/android/uapi/ion.h

@@ -179,7 +179,7 @@ struct ion_custom_data {
  * DOC: ION_IOC_SYNC - syncs a shared file descriptors to memory
  * DOC: ION_IOC_SYNC - syncs a shared file descriptors to memory
  *
  *
  * Deprecated in favor of using the dma_buf api's correctly (syncing
  * Deprecated in favor of using the dma_buf api's correctly (syncing
- * will happend automatically when the buffer is mapped to a device).
+ * will happen automatically when the buffer is mapped to a device).
  * If necessary should be used after touching a cached buffer from the cpu,
  * If necessary should be used after touching a cached buffer from the cpu,
  * this will make the buffer in memory coherent.
  * this will make the buffer in memory coherent.
  */
  */

+ 1 - 1
drivers/staging/comedi/comedi_fops.c

@@ -1762,7 +1762,7 @@ cleanup:
 
 
 /*
 /*
  * COMEDI_CMDTEST ioctl
  * COMEDI_CMDTEST ioctl
- * asynchronous aquisition command testing
+ * asynchronous acquisition command testing
  *
  *
  * arg:
  * arg:
  *	pointer to comedi_cmd structure
  *	pointer to comedi_cmd structure

+ 3 - 3
drivers/staging/dgnc/TODO

@@ -1,9 +1,9 @@
 * checkpatch fixes
 * checkpatch fixes
-* remove unecessary comments
-* remove unecessary error messages. Example kzalloc() has its
+* remove unnecessary comments
+* remove unnecessary error messages. Example kzalloc() has its
   own error message. Adding an extra one is useless.
   own error message. Adding an extra one is useless.
 * use goto statements for error handling when appropriate
 * use goto statements for error handling when appropriate
-* there is a lot of unecessary code in the driver. It was
+* there is a lot of unnecessary code in the driver. It was
   originally a standalone driver. Remove uneeded code.
   originally a standalone driver. Remove uneeded code.
 
 
 Please send patches to Greg Kroah-Hartman <greg@kroah.com> and
 Please send patches to Greg Kroah-Hartman <greg@kroah.com> and

+ 1 - 1
drivers/staging/dgnc/dgnc_neo.c

@@ -1203,7 +1203,7 @@ static void neo_copy_data_from_uart_to_queue(struct channel_t *ch)
 		memcpy_fromio(ch->ch_rqueue + head, &ch->ch_neo_uart->txrxburst, n);
 		memcpy_fromio(ch->ch_rqueue + head, &ch->ch_neo_uart->txrxburst, n);
 
 
 		/*
 		/*
-		 * Since RX_FIFO_DATA_ERROR was 0, we are guarenteed
+		 * Since RX_FIFO_DATA_ERROR was 0, we are guaranteed
 		 * that all the data currently in the FIFO is free of
 		 * that all the data currently in the FIFO is free of
 		 * breaks and parity/frame/orun errors.
 		 * breaks and parity/frame/orun errors.
 		 */
 		 */

+ 1 - 1
drivers/staging/emxx_udc/emxx_udc.c

@@ -1223,7 +1223,7 @@ static int _nbu2ss_epn_in_transfer(
 	}
 	}
 
 
 	/*-------------------------------------------------------------*/
 	/*-------------------------------------------------------------*/
-	/* Start tranfer */
+	/* Start transfer */
 	iBufSize = req->req.length - req->req.actual;
 	iBufSize = req->req.length - req->req.actual;
 	if (iBufSize > 0)
 	if (iBufSize > 0)
 		result = _nbu2ss_epn_in_data(udc, ep, req, iBufSize);
 		result = _nbu2ss_epn_in_data(udc, ep, req, iBufSize);

+ 1 - 1
drivers/staging/fbtft/Kconfig

@@ -12,7 +12,7 @@ config FB_TFT_AGM1264K_FL
 	tristate "FB driver for the AGM1264K-FL LCD display"
 	tristate "FB driver for the AGM1264K-FL LCD display"
 	depends on FB_TFT
 	depends on FB_TFT
 	help
 	help
-	  Framebuffer support for the AGM1264K-FL LCD display (two Samsung KS0108 compatable chips)
+	  Framebuffer support for the AGM1264K-FL LCD display (two Samsung KS0108 compatible chips)
 
 
 config FB_TFT_BD663474
 config FB_TFT_BD663474
 	tristate "FB driver for the BD663474 LCD Controller"
 	tristate "FB driver for the BD663474 LCD Controller"

+ 1 - 1
drivers/staging/fwserial/dma_fifo.c

@@ -56,7 +56,7 @@ void dma_fifo_init(struct dma_fifo *fifo)
  * @size: 'apparent' size, in bytes, of fifo
  * @size: 'apparent' size, in bytes, of fifo
  * @align: dma alignment to maintain (should be at least cpu cache alignment),
  * @align: dma alignment to maintain (should be at least cpu cache alignment),
  *         must be power of 2
  *         must be power of 2
- * @tx_limit: maximum # of bytes transmissable per dma (rounded down to
+ * @tx_limit: maximum # of bytes transmissible per dma (rounded down to
  *            multiple of alignment, but at least align size)
  *            multiple of alignment, but at least align size)
  * @open_limit: maximum # of outstanding dma transactions allowed
  * @open_limit: maximum # of outstanding dma transactions allowed
  * @gfp_mask: get_free_pages mask, passed to kmalloc()
  * @gfp_mask: get_free_pages mask, passed to kmalloc()

+ 1 - 1
drivers/staging/fwserial/fwserial.h

@@ -218,7 +218,7 @@ struct fwconsole_ops {
  *         prevented with the IN_TX flag. Scheduled under lock to
  *         prevented with the IN_TX flag. Scheduled under lock to
  *         limit scheduling when fifo has just been drained.
  *         limit scheduling when fifo has just been drained.
  * @tx_fifo: fifo used to store & block-up writes for dma to remote
  * @tx_fifo: fifo used to store & block-up writes for dma to remote
- * @max_payload: max bytes transmissable per dma (based on peer's max_payload)
+ * @max_payload: max bytes transmissible per dma (based on peer's max_payload)
  * @status_mask: UART_LSR_* bitmask significant to rx (based on termios)
  * @status_mask: UART_LSR_* bitmask significant to rx (based on termios)
  * @ignore_mask: UART_LSR_* bitmask of states to ignore (also based on termios)
  * @ignore_mask: UART_LSR_* bitmask of states to ignore (also based on termios)
  * @break_ctl: if set, port is 'sending break' to remote
  * @break_ctl: if set, port is 'sending break' to remote

+ 1 - 1
drivers/staging/iio/Documentation/device.txt

@@ -52,7 +52,7 @@ Then fill in the following:
 	* info->write_event_value:
 	* info->write_event_value:
 		Write the value associated with on sensor event detectors. E.g.
 		Write the value associated with on sensor event detectors. E.g.
 		a threshold above which an interrupt occurs.  Note that the
 		a threshold above which an interrupt occurs.  Note that the
-		meaning of the value to be set is event type dependant.
+		meaning of the value to be set is event type dependent.
 
 
 - indio_dev->modes:
 - indio_dev->modes:
 	Specify whether direct access and / or ring buffer access is supported.
 	Specify whether direct access and / or ring buffer access is supported.

+ 1 - 1
drivers/staging/iio/iio_simple_dummy.h

@@ -25,7 +25,7 @@ struct iio_dummy_regs;
  * @accel_calibscale:		cache for acceleration calibscale
  * @accel_calibscale:		cache for acceleration calibscale
  * @lock:			lock to ensure state is consistent
  * @lock:			lock to ensure state is consistent
  * @event_irq:			irq number for event line (faked)
  * @event_irq:			irq number for event line (faked)
- * @event_val:			cache for event theshold value
+ * @event_val:			cache for event threshold value
  * @event_en:			cache of whether event is enabled
  * @event_en:			cache of whether event is enabled
  */
  */
 struct iio_dummy_state {
 struct iio_dummy_state {

+ 1 - 1
drivers/staging/lustre/TODO

@@ -1,6 +1,6 @@
 * Possible remaining coding style fix.
 * Possible remaining coding style fix.
 * Remove deadcode.
 * Remove deadcode.
-* Seperate client/server functionality. Functions only used by server can be
+* Separate client/server functionality. Functions only used by server can be
   removed from client.
   removed from client.
 * Clean up libcfs layer. Ideally we can remove include/linux/libcfs entirely.
 * Clean up libcfs layer. Ideally we can remove include/linux/libcfs entirely.
 * Clean up CLIO layer. Lustre client readahead/writeback control needs to better
 * Clean up CLIO layer. Lustre client readahead/writeback control needs to better

+ 2 - 2
drivers/staging/media/bcm2048/radio-bcm2048.c

@@ -217,7 +217,7 @@
 #define BCM2048_FREQ_ERROR_FLOOR	-20
 #define BCM2048_FREQ_ERROR_FLOOR	-20
 #define BCM2048_FREQ_ERROR_ROOF		20
 #define BCM2048_FREQ_ERROR_ROOF		20
 
 
-/* -60 dB is reported as full signal strenght */
+/* -60 dB is reported as full signal strength */
 #define BCM2048_RSSI_LEVEL_BASE		-60
 #define BCM2048_RSSI_LEVEL_BASE		-60
 #define BCM2048_RSSI_LEVEL_ROOF		-100
 #define BCM2048_RSSI_LEVEL_ROOF		-100
 #define BCM2048_RSSI_LEVEL_ROOF_NEG	100
 #define BCM2048_RSSI_LEVEL_ROOF_NEG	100
@@ -2468,7 +2468,7 @@ static int bcm2048_vidioc_g_tuner(struct file *file, void *priv,
 		} else {
 		} else {
 			/*
 			/*
 			 * RSSI level -60 dB is defined to report full
 			 * RSSI level -60 dB is defined to report full
-			 * signal strenght
+			 * signal strength
 			 */
 			 */
 			rssi = bcm2048_get_fm_rssi(bdev);
 			rssi = bcm2048_get_fm_rssi(bdev);
 			if (rssi >= BCM2048_RSSI_LEVEL_BASE) {
 			if (rssi >= BCM2048_RSSI_LEVEL_BASE) {

+ 2 - 2
drivers/staging/octeon-usb/octeon-hcd.c

@@ -1239,7 +1239,7 @@ static int cvmx_usb_fill_tx_hw(struct cvmx_usb_state *usb,
 							usb->index) ^ 4;
 							usb->index) ^ 4;
 		int words = available;
 		int words = available;
 
 
-		/* Limit the amount of data to waht the SW fifo has */
+		/* Limit the amount of data to what the SW fifo has */
 		if (fifo->entry[i].size <= available) {
 		if (fifo->entry[i].size <= available) {
 			words = fifo->entry[i].size;
 			words = fifo->entry[i].size;
 			fifo->tail++;
 			fifo->tail++;
@@ -1849,7 +1849,7 @@ static void cvmx_usb_start_channel(struct cvmx_usb_state *usb, int channel,
 		transaction->xfersize = usbc_hctsiz.s.xfersize;
 		transaction->xfersize = usbc_hctsiz.s.xfersize;
 		transaction->pktcnt = usbc_hctsiz.s.pktcnt;
 		transaction->pktcnt = usbc_hctsiz.s.pktcnt;
 	}
 	}
-	/* Remeber when we start a split transaction */
+	/* Remember when we start a split transaction */
 	if (cvmx_usb_pipe_needs_split(usb, pipe))
 	if (cvmx_usb_pipe_needs_split(usb, pipe))
 		usb->active_split = transaction;
 		usb->active_split = transaction;
 	USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index),
 	USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index),

+ 1 - 1
drivers/staging/octeon-usb/octeon-hcd.h

@@ -1693,7 +1693,7 @@ union cvmx_usbnx_usbp_ctl_status {
 	 * struct cvmx_usbnx_usbp_ctl_status_s
 	 * struct cvmx_usbnx_usbp_ctl_status_s
 	 * @txrisetune: HS Transmitter Rise/Fall Time Adjustment
 	 * @txrisetune: HS Transmitter Rise/Fall Time Adjustment
 	 * @txvreftune: HS DC Voltage Level Adjustment
 	 * @txvreftune: HS DC Voltage Level Adjustment
-	 * @txfslstune: FS/LS Source Impedence Adjustment
+	 * @txfslstune: FS/LS Source Impedance Adjustment
 	 * @txhsxvtune: Transmitter High-Speed Crossover Adjustment
 	 * @txhsxvtune: Transmitter High-Speed Crossover Adjustment
 	 * @sqrxtune: Squelch Threshold Adjustment
 	 * @sqrxtune: Squelch Threshold Adjustment
 	 * @compdistune: Disconnect Threshold Adjustment
 	 * @compdistune: Disconnect Threshold Adjustment

+ 2 - 2
drivers/staging/rtl8188eu/include/rtl8188e_hal.h

@@ -159,7 +159,7 @@ struct txpowerinfo24g {
 /*  | 1byte|----8bytes----|1byte|--5bytes--| */
 /*  | 1byte|----8bytes----|1byte|--5bytes--| */
 /*  |         |            Reserved(14bytes)	      | */
 /*  |         |            Reserved(14bytes)	      | */
 
 
-/*  PG data exclude header, dummy 6 bytes frome CP test and reserved 1byte. */
+/*  PG data exclude header, dummy 6 bytes from CP test and reserved 1byte. */
 #define EFUSE_OOB_PROTECT_BYTES			15
 #define EFUSE_OOB_PROTECT_BYTES			15
 
 
 #define		HWSET_MAX_SIZE_88E		512
 #define		HWSET_MAX_SIZE_88E		512
@@ -177,7 +177,7 @@ struct txpowerinfo24g {
 /*  9bytes + 1byt + 5bytes and pre 1byte. */
 /*  9bytes + 1byt + 5bytes and pre 1byte. */
 /*  For worst case: */
 /*  For worst case: */
 /*  | 2byte|----8bytes----|1byte|--7bytes--| 92D */
 /*  | 2byte|----8bytes----|1byte|--7bytes--| 92D */
-/*  PG data exclude header, dummy 7 bytes frome CP test and reserved 1byte. */
+/*  PG data exclude header, dummy 7 bytes from CP test and reserved 1byte. */
 #define		EFUSE_OOB_PROTECT_BYTES_88E	18
 #define		EFUSE_OOB_PROTECT_BYTES_88E	18
 #define		EFUSE_PROTECT_BYTES_BANK_88E	16
 #define		EFUSE_PROTECT_BYTES_BANK_88E	16
 
 

+ 1 - 1
drivers/staging/rtl8192u/r8192U_dm.c

@@ -120,7 +120,7 @@ static	void	dm_ctstoself(struct net_device *dev);
  *		Prepare SW resource for HW dynamic mechanism.
  *		Prepare SW resource for HW dynamic mechanism.
  *
  *
  *	Assumption:
  *	Assumption:
- *		This function is only invoked at driver intialization once.
+ *		This function is only invoked at driver initialization once.
  */
  */
 void init_hal_dm(struct net_device *dev)
 void init_hal_dm(struct net_device *dev)
 {
 {

+ 1 - 1
drivers/staging/rtl8712/rtl8712_xmit.c

@@ -340,7 +340,7 @@ u8 r8712_append_mpdu_unit(struct xmit_buf *pxmitbuf,
 u8 r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf,
 u8 r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf,
 			struct xmit_frame *pxmitframe)
 			struct xmit_frame *pxmitframe)
 {
 {
-	/* linux complete context doesnt need to protect */
+	/* linux complete context doesn't need to protect */
 	pxmitframe->pxmitbuf = pxmitbuf;
 	pxmitframe->pxmitbuf = pxmitbuf;
 	pxmitbuf->priv_data = pxmitframe;
 	pxmitbuf->priv_data = pxmitframe;
 	pxmitframe->pxmit_urb[0] = pxmitbuf->pxmit_urb[0];
 	pxmitframe->pxmit_urb[0] = pxmitbuf->pxmit_urb[0];

+ 1 - 1
drivers/staging/rtl8712/rtl871x_mp_phy_regdef.h

@@ -603,7 +603,7 @@
 #define	bCCKRxIG		0x7f00
 #define	bCCKRxIG		0x7f00
 #define	bCCKLNAPolarity		0x800000
 #define	bCCKLNAPolarity		0x800000
 #define	bCCKRx1stGain		0x7f0000
 #define	bCCKRx1stGain		0x7f0000
-#define	bCCKRFExtend		0x20000000 /* CCK Rx inital gain polarity */
+#define	bCCKRFExtend		0x20000000 /* CCK Rx initial gain polarity */
 #define	bCCKRxAGCSatLevel	0x1f000000
 #define	bCCKRxAGCSatLevel	0x1f000000
 #define	bCCKRxAGCSatCount       0xe0
 #define	bCCKRxAGCSatCount       0xe0
 #define	bCCKRxRFSettle          0x1f       /* AGCsamp_dly */
 #define	bCCKRxRFSettle          0x1f       /* AGCsamp_dly */

+ 1 - 1
drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c

@@ -92,7 +92,7 @@ u8 HalPwrSeqCmdParsing23a(struct rtw_adapter *padapter, u8 CutVersion,
 				value |= (GET_PWR_CFG_VALUE(PwrCfgCmd) &
 				value |= (GET_PWR_CFG_VALUE(PwrCfgCmd) &
 					  GET_PWR_CFG_MASK(PwrCfgCmd));
 					  GET_PWR_CFG_MASK(PwrCfgCmd));
 
 
-				/*  Write the value back to sytem register */
+				/*  Write the value back to system register */
 				rtl8723au_write8(padapter, offset, value);
 				rtl8723au_write8(padapter, offset, value);
 				break;
 				break;
 
 

+ 1 - 1
drivers/staging/rtl8723au/hal/odm.c

@@ -40,7 +40,7 @@ static u32 EDCAParam[HT_IOT_PEER_MAX][3] = {          /*  UL			DL */
 	{0x5ea42b, 0xa630, 0x5e431c}, /*  11:airgocap AP */
 	{0x5ea42b, 0xa630, 0x5e431c}, /*  11:airgocap AP */
 };
 };
 
 
-/*  EDCA Paramter for AP/ADSL   by Mingzhi 2011-11-22 */
+/*  EDCA Parameter for AP/ADSL   by Mingzhi 2011-11-22 */
 
 
 /*  Global var */
 /*  Global var */
 u32 OFDMSwingTable23A[OFDM_TABLE_SIZE_92D] = {
 u32 OFDMSwingTable23A[OFDM_TABLE_SIZE_92D] = {

+ 1 - 1
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c

@@ -1396,7 +1396,7 @@ static void _DisableAnalog(struct rtw_adapter *padapter, bool bWithoutHWSM)
 		/* value16 |= (APDM_HOST | FSM_HSUS |/PFM_ALDN); */
 		/* value16 |= (APDM_HOST | FSM_HSUS |/PFM_ALDN); */
 		/*  2010/08/31 According to Filen description, we need to
 		/*  2010/08/31 According to Filen description, we need to
 		    use HW to shut down 8051 automatically. */
 		    use HW to shut down 8051 automatically. */
-		/*  Becasue suspend operatione need the asistance of 8051
+		/*  Because suspend operation need the asistance of 8051
 		    to wait for 3ms. */
 		    to wait for 3ms. */
 		value16 = APDM_HOST | AFSM_HSUS | PFM_ALDN;
 		value16 = APDM_HOST | AFSM_HSUS | PFM_ALDN;
 	} else {
 	} else {

+ 1 - 1
drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c

@@ -660,7 +660,7 @@ phy_BB8723a_Config_ParaFile(struct rtw_adapter *Adapter)
 
 
 	/*  */
 	/*  */
 	/*  1. Read PHY_REG.TXT BB INIT!! */
 	/*  1. Read PHY_REG.TXT BB INIT!! */
-	/*  We will seperate as 88C / 92C according to chip version */
+	/*  We will separate as 88C / 92C according to chip version */
 	/*  */
 	/*  */
 	ODM_ReadAndConfig_PHY_REG_1T_8723A(&pHalData->odmpriv);
 	ODM_ReadAndConfig_PHY_REG_1T_8723A(&pHalData->odmpriv);
 
 

+ 2 - 2
drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c

@@ -138,7 +138,7 @@ void rtl823a_phy_rf6052setccktxpower(struct rtw_adapter *Adapter,
 /*  Currently, we cannot fully disable driver dynamic tx power
 /*  Currently, we cannot fully disable driver dynamic tx power
  *  mechanism because it is referenced by BT coexist mechanism. */
  *  mechanism because it is referenced by BT coexist mechanism. */
 /*  In the future, two mechanism shall be separated from each other
 /*  In the future, two mechanism shall be separated from each other
- *  and maintained independantly. Thanks for Lanhsin's reminder. */
+ *  and maintained independently. Thanks for Lanhsin's reminder. */
 		if (pdmpriv->DynamicTxHighPowerLvl == TxHighPwrLevel_Level1) {
 		if (pdmpriv->DynamicTxHighPowerLvl == TxHighPwrLevel_Level1) {
 			TxAGC[RF_PATH_A] = 0x10101010;
 			TxAGC[RF_PATH_A] = 0x10101010;
 			TxAGC[RF_PATH_B] = 0x10101010;
 			TxAGC[RF_PATH_B] = 0x10101010;
@@ -300,7 +300,7 @@ getTxPowerWriteValByRegulatory(struct rtw_adapter *Adapter, u8 Channel,
 /*  Currently, we cannot fully disable driver dynamic tx power mechanism
 /*  Currently, we cannot fully disable driver dynamic tx power mechanism
     because it is referenced by BT coexist mechanism. */
     because it is referenced by BT coexist mechanism. */
 /*  In the future, two mechanism shall be separated from each other and
 /*  In the future, two mechanism shall be separated from each other and
-    maintained independantly. Thanks for Lanhsin's reminder. */
+    maintained independently. Thanks for Lanhsin's reminder. */
 
 
 		if (pdmpriv->DynamicTxHighPowerLvl == TxHighPwrLevel_Level1)
 		if (pdmpriv->DynamicTxHighPowerLvl == TxHighPwrLevel_Level1)
 			writeVal = 0x14141414;
 			writeVal = 0x14141414;

+ 1 - 1
drivers/staging/rtl8723au/hal/rtl8723au_xmit.c

@@ -252,7 +252,7 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz)
 	}
 	}
 
 
 	/*  (1) The sequence number of each non-Qos frame / broadcast / multicast / */
 	/*  (1) The sequence number of each non-Qos frame / broadcast / multicast / */
-	/*  mgnt frame should be controled by Hw because Fw will also send null data */
+	/*  mgnt frame should be controlled by Hw because Fw will also send null data */
 	/*  which we cannot control when Fw LPS enable. */
 	/*  which we cannot control when Fw LPS enable. */
 	/*  --> default enable non-Qos data sequense number. 2010.06.23. by tynli. */
 	/*  --> default enable non-Qos data sequense number. 2010.06.23. by tynli. */
 	/*  (2) Enable HW SEQ control for beacon packet, because we use Hw beacon. */
 	/*  (2) Enable HW SEQ control for beacon packet, because we use Hw beacon. */

+ 1 - 1
drivers/staging/rtl8723au/hal/usb_halinit.c

@@ -360,7 +360,7 @@ static void _InitWMACSetting(struct rtw_adapter *Adapter)
 	/*  2010.09.08 hpfan */
 	/*  2010.09.08 hpfan */
 	/*  Since ADF is removed from RCR, ps-poll will not be indicate
 	/*  Since ADF is removed from RCR, ps-poll will not be indicate
 	    to driver, */
 	    to driver, */
-	/*  RxFilterMap should mask ps-poll to gurantee AP mode can
+	/*  RxFilterMap should mask ps-poll to guarantee AP mode can
 	    rx ps-poll. */
 	    rx ps-poll. */
 	/* value16 = 0x400; */
 	/* value16 = 0x400; */
 	/* rtl8723au_write16(Adapter, REG_RXFLTMAP1, value16); */
 	/* rtl8723au_write16(Adapter, REG_RXFLTMAP1, value16); */

+ 1 - 1
drivers/staging/rtl8723au/include/odm_debug.h

@@ -22,7 +22,7 @@
 /*	Define the debug levels */
 /*	Define the debug levels */
 /*  */
 /*  */
 /*	1.	DBG_TRACE and DBG_LOUD are used for normal cases. */
 /*	1.	DBG_TRACE and DBG_LOUD are used for normal cases. */
-/*	So that, they can help SW engineer to develope or trace states changed */
+/*	So that, they can help SW engineer to develop or trace states changed */
 /*	and also help HW enginner to trace every operation to and from HW, */
 /*	and also help HW enginner to trace every operation to and from HW, */
 /*	e.g IO, Tx, Rx. */
 /*	e.g IO, Tx, Rx. */
 /*  */
 /*  */

+ 1 - 1
drivers/staging/rtl8723au/include/rtl8723a_hal.h

@@ -193,7 +193,7 @@ enum ChannelPlan
 /*  |         |            Reserved(14bytes)	      | */
 /*  |         |            Reserved(14bytes)	      | */
 /*  */
 /*  */
 
 
-/*  PG data exclude header, dummy 6 bytes frome CP test and reserved 1byte. */
+/*  PG data exclude header, dummy 6 bytes from CP test and reserved 1byte. */
 #define EFUSE_OOB_PROTECT_BYTES			15
 #define EFUSE_OOB_PROTECT_BYTES			15
 
 
 #define EFUSE_REAL_CONTENT_LEN_8723A	512
 #define EFUSE_REAL_CONTENT_LEN_8723A	512

+ 1 - 1
drivers/staging/rtl8723au/include/rtw_cmd.h

@@ -657,7 +657,7 @@ struct TDLSoption_param {
 
 
 Result:
 Result:
 0x00: success
 0x00: success
-0x01: sucess, and check Response.
+0x01: success, and check Response.
 0x02: cmd ignored due to duplicated sequcne number
 0x02: cmd ignored due to duplicated sequcne number
 0x03: cmd dropped due to invalid cmd code
 0x03: cmd dropped due to invalid cmd code
 0x04: reserved.
 0x04: reserved.

+ 5 - 5
drivers/staging/rtl8723au/include/rtw_mlme.h

@@ -50,11 +50,11 @@
 #define	WIFI_SITE_MONITOR	0x00000800
 #define	WIFI_SITE_MONITOR	0x00000800
 
 
 #define	WIFI_MP_STATE		0x00010000
 #define	WIFI_MP_STATE		0x00010000
-#define	WIFI_MP_CTX_BACKGROUND	0x00020000	/*  in continous tx background */
-#define	WIFI_MP_CTX_ST		0x00040000	/*  in continous tx with single-tone */
-#define	WIFI_MP_CTX_BACKGROUND_PENDING	0x00080000	/*  pending in continous tx background due to out of skb */
-#define	WIFI_MP_CTX_CCK_HW	0x00100000	/*  in continous tx */
-#define	WIFI_MP_CTX_CCK_CS	0x00200000	/*  in continous tx with carrier suppression */
+#define	WIFI_MP_CTX_BACKGROUND	0x00020000	/*  in continuous tx background */
+#define	WIFI_MP_CTX_ST		0x00040000	/*  in continuous tx with single-tone */
+#define	WIFI_MP_CTX_BACKGROUND_PENDING	0x00080000	/*  pending in continuous tx background due to out of skb */
+#define	WIFI_MP_CTX_CCK_HW	0x00100000	/*  in continuous tx */
+#define	WIFI_MP_CTX_CCK_CS	0x00200000	/*  in continuous tx with carrier suppression */
 #define   WIFI_MP_LPBK_STATE	0x00400000
 #define   WIFI_MP_LPBK_STATE	0x00400000
 
 
 #define _FW_UNDER_LINKING	WIFI_UNDER_LINKING
 #define _FW_UNDER_LINKING	WIFI_UNDER_LINKING

+ 1 - 1
drivers/staging/rtl8723au/include/rtw_mlme_ext.h

@@ -103,7 +103,7 @@ extern unsigned char WMM_PARA_OUI23A[];
 /*  Note: */
 /*  Note: */
 /*	We just add new channel plan when the new channel plan is different from any of the following */
 /*	We just add new channel plan when the new channel plan is different from any of the following */
 /*	channel plan. */
 /*	channel plan. */
-/*	If you just wnat to customize the acitions(scan period or join actions) about one of the channel plan, */
+/*	If you just want to customize the actions(scan period or join actions) about one of the channel plan, */
 /*	customize them in struct rt_channel_info in the RT_CHANNEL_LIST. */
 /*	customize them in struct rt_channel_info in the RT_CHANNEL_LIST. */
 /*  */
 /*  */
 enum  { /* _RT_CHANNEL_DOMAIN */
 enum  { /* _RT_CHANNEL_DOMAIN */

+ 1 - 1
drivers/staging/rtl8723au/include/sta_info.h

@@ -332,7 +332,7 @@ struct sta_priv {
 	 */
 	 */
 	struct sta_info *sta_aid[NUM_STA];
 	struct sta_info *sta_aid[NUM_STA];
 
 
-	u16 sta_dz_bitmap;/* only support 15 stations, staion aid bitmap
+	u16 sta_dz_bitmap;/* only support 15 stations, station aid bitmap
 			   * for sleeping sta. */
 			   * for sleeping sta. */
 	u16 tim_bitmap;/* only support 15 stations,
 	u16 tim_bitmap;/* only support 15 stations,
 			* aid=0~15 mapping bit0~bit15 */
 			* aid=0~15 mapping bit0~bit15 */

+ 1 - 1
drivers/staging/sm750fb/ddk750_help.h

@@ -14,7 +14,7 @@
 #warning "big endian on target cpu and enable nature big endian support of 718 capability !"
 #warning "big endian on target cpu and enable nature big endian support of 718 capability !"
 #define PEEK32(addr)  			__raw_readl(mmio750 + addr)
 #define PEEK32(addr)  			__raw_readl(mmio750 + addr)
 #define POKE32(addr,data) 		__raw_writel(data, mmio750 + addr)
 #define POKE32(addr,data) 		__raw_writel(data, mmio750 + addr)
-#else /* software control endianess */
+#else /* software control endianness */
 #define PEEK32(addr) readl(addr + mmio750)
 #define PEEK32(addr) readl(addr + mmio750)
 #define POKE32(addr,data) writel(data, addr + mmio750)
 #define POKE32(addr,data) writel(data, addr + mmio750)
 #endif
 #endif

+ 1 - 1
drivers/staging/sm750fb/ddk750_mode.c

@@ -162,7 +162,7 @@ static int programModeRegisters(mode_parameter_t * pModeParam,pll_value_t * pll)
 
 
 		/* May a hardware bug or just my test chip (not confirmed).
 		/* May a hardware bug or just my test chip (not confirmed).
 		* PANEL_DISPLAY_CTRL register seems requiring few writes
 		* PANEL_DISPLAY_CTRL register seems requiring few writes
-		* before a value can be succesfully written in.
+		* before a value can be successfully written in.
 		* Added some masks to mask out the reserved bits.
 		* Added some masks to mask out the reserved bits.
 		* Note: This problem happens by design. The hardware will wait for the
 		* Note: This problem happens by design. The hardware will wait for the
 		*       next vertical sync to turn on/off the plane.
 		*       next vertical sync to turn on/off the plane.

+ 2 - 2
drivers/staging/sm750fb/ddk750_reg.h

@@ -1885,10 +1885,10 @@
 #define DISPLAY_CONTROL_750LE 	0x80288
 #define DISPLAY_CONTROL_750LE 	0x80288
 /* Palette RAM */
 /* Palette RAM */
 
 
-/* Panel Pallete register starts at 0x080400 ~ 0x0807FC */
+/* Panel Palette register starts at 0x080400 ~ 0x0807FC */
 #define PANEL_PALETTE_RAM                             0x080400
 #define PANEL_PALETTE_RAM                             0x080400
 
 
-/* Panel Pallete register starts at 0x080C00 ~ 0x080FFC */
+/* Panel Palette register starts at 0x080C00 ~ 0x080FFC */
 #define CRT_PALETTE_RAM                               0x080C00
 #define CRT_PALETTE_RAM                               0x080C00
 
 
 /* 2D registers
 /* 2D registers

+ 2 - 2
drivers/staging/sm750fb/ddk750_sii164.c

@@ -256,7 +256,7 @@ long sii164InitChip(
 
 
 
 
 
 
-/* below sii164 function is not neccessary */
+/* below sii164 function is not necessary */
 
 
 #ifdef SII164_FULL_FUNCTIONS
 #ifdef SII164_FULL_FUNCTIONS
 
 
@@ -388,7 +388,7 @@ unsigned char sii164IsConnected(void)
 
 
 /*
 /*
  *  sii164CheckInterrupt
  *  sii164CheckInterrupt
- *      Checks if interrupt has occured.
+ *      Checks if interrupt has occurred.
  *
  *
  *  Output:
  *  Output:
  *      0   - No interrupt
  *      0   - No interrupt

+ 4 - 4
drivers/staging/sm750fb/readme

@@ -5,7 +5,7 @@ Introduction:
 	- 2D acceleration
 	- 2D acceleration
 	- 16MB integrated video memory
 	- 16MB integrated video memory
 
 
-About the kernel module paramter of driver:
+About the kernel module parameter of driver:
 
 
 	Use 1280,8bpp index color and 60 hz mode:
 	Use 1280,8bpp index color and 60 hz mode:
 	insmod ./sm750fb.ko g_option="1280x1024-8@60"
 	insmod ./sm750fb.ko g_option="1280x1024-8@60"
@@ -20,16 +20,16 @@ About the kernel module paramter of driver:
 	and user can use con2fb to link fbX and ttyX
 	and user can use con2fb to link fbX and ttyX
 
 
 	Notes:
 	Notes:
-	1) if you build the driver with built-in method, the paramter
+	1) if you build the driver with built-in method, the parameter
 		you edited in the grub config file will be also the
 		you edited in the grub config file will be also the
-		same format as above modular method,but additionaly add
+		same format as above modular method,but additionally add
 		"video=sm750fb:"
 		"video=sm750fb:"
 		ahead of parameters,so,it looks like:
 		ahead of parameters,so,it looks like:
 		video=sm750fb:noaccel,1280x1024@60,otherparam,etc...
 		video=sm750fb:noaccel,1280x1024@60,otherparam,etc...
 		it equal to modular method with below command:
 		it equal to modular method with below command:
 		insmod ./sm750fb.ko g_option="noaccel:1280x1024@60:otherparm:etc..."
 		insmod ./sm750fb.ko g_option="noaccel:1280x1024@60:otherparm:etc..."
 
 
-	2) if you put 800x600 into the paramter without bpp and
+	2) if you put 800x600 into the parameter without bpp and
 		refresh rate, kernel driver will defaulty use 16bpp and 60hz
 		refresh rate, kernel driver will defaulty use 16bpp and 60hz
 
 
 Important:
 Important:

+ 6 - 6
drivers/staging/sm750fb/sm750.c

@@ -207,7 +207,7 @@ static void lynxfb_ops_fillrect(struct fb_info *info,
 
 
 	/*
 	/*
 	 * If not use spin_lock,system will die if user load driver
 	 * If not use spin_lock,system will die if user load driver
-	 * and immediatly unload driver frequently (dual)
+	 * and immediately unload driver frequently (dual)
 	 */
 	 */
 	if (share->dual)
 	if (share->dual)
 		spin_lock(&share->slock);
 		spin_lock(&share->slock);
@@ -239,7 +239,7 @@ static void lynxfb_ops_copyarea(struct fb_info *info,
 
 
 	/*
 	/*
 	 * If not use spin_lock, system will die if user load driver
 	 * If not use spin_lock, system will die if user load driver
-	 * and immediatly unload driver frequently (dual)
+	 * and immediately unload driver frequently (dual)
 	 */
 	 */
 	if (share->dual)
 	if (share->dual)
 		spin_lock(&share->slock);
 		spin_lock(&share->slock);
@@ -283,7 +283,7 @@ static void lynxfb_ops_imageblit(struct fb_info *info,
 _do_work:
 _do_work:
 	/*
 	/*
 	 * If not use spin_lock, system will die if user load driver
 	 * If not use spin_lock, system will die if user load driver
-	 * and immediatly unload driver frequently (dual)
+	 * and immediately unload driver frequently (dual)
 	 */
 	 */
 	if (share->dual)
 	if (share->dual)
 		spin_lock(&share->slock);
 		spin_lock(&share->slock);
@@ -479,7 +479,7 @@ static int lynxfb_resume(struct pci_dev *pdev)
 
 
 	ret = pci_set_power_state(pdev, PCI_D0);
 	ret = pci_set_power_state(pdev, PCI_D0);
 	if (ret) {
 	if (ret) {
-		pr_err("error:%d occured in pci_set_power_state\n", ret);
+		pr_err("error:%d occurred in pci_set_power_state\n", ret);
 		return ret;
 		return ret;
 	}
 	}
 
 
@@ -488,7 +488,7 @@ static int lynxfb_resume(struct pci_dev *pdev)
 		pci_restore_state(pdev);
 		pci_restore_state(pdev);
 		ret = pci_enable_device(pdev);
 		ret = pci_enable_device(pdev);
 		if (ret) {
 		if (ret) {
-			pr_err("error:%d occured in pci_enable_device\n", ret);
+			pr_err("error:%d occurred in pci_enable_device\n", ret);
 			return ret;
 			return ret;
 		}
 		}
 		pci_set_master(pdev);
 		pci_set_master(pdev);
@@ -1170,7 +1170,7 @@ static int lynxfb_pci_probe(struct pci_dev *pdev,
 			pr_err("Unable to setup MTRR.\n");
 			pr_err("Unable to setup MTRR.\n");
 		} else {
 		} else {
 			share->mtrr.vram_added = 1;
 			share->mtrr.vram_added = 1;
-			pr_info("MTRR added succesfully\n");
+			pr_info("MTRR added successfully\n");
 		}
 		}
 	}
 	}
 #endif
 #endif

+ 2 - 2
drivers/staging/sm750fb/sm750_accel.c

@@ -246,7 +246,7 @@ unsigned int rop2)   /* ROP value */
 #if 0
 #if 0
     /* Program pitch (distance between the 1st points of two adjacent lines).
     /* Program pitch (distance between the 1st points of two adjacent lines).
        Note that input pitch is BYTE value, but the 2D Pitch register uses
        Note that input pitch is BYTE value, but the 2D Pitch register uses
-       pixel values. Need Byte to pixel convertion.
+       pixel values. Need Byte to pixel conversion.
     */
     */
 	if(Bpp == 3){
 	if(Bpp == 3){
 			sx *= 3;
 			sx *= 3;
@@ -362,7 +362,7 @@ int hw_imageblit(struct lynx_accel *accel,
 #if 0
 #if 0
     /* Program pitch (distance between the 1st points of two adjacent lines).
     /* Program pitch (distance between the 1st points of two adjacent lines).
        Note that input pitch is BYTE value, but the 2D Pitch register uses
        Note that input pitch is BYTE value, but the 2D Pitch register uses
-       pixel values. Need Byte to pixel convertion.
+       pixel values. Need Byte to pixel conversion.
     */
     */
 	if(bytePerPixel == 3 ){
 	if(bytePerPixel == 3 ){
 		dx *= 3;
 		dx *= 3;

+ 1 - 1
drivers/staging/sm750fb/sm750_hw.h

@@ -65,7 +65,7 @@ struct sm750_state{
 };
 };
 
 
 /* 	sm750_share stands for a presentation of two frame buffer
 /* 	sm750_share stands for a presentation of two frame buffer
-	that use one sm750 adaptor, it is similiar to the super class of lynx_share
+	that use one sm750 adaptor, it is similar to the super class of lynx_share
 	in C++
 	in C++
 */
 */
 
 

+ 1 - 1
drivers/staging/unisys/include/guestlinuxdebug.h

@@ -135,7 +135,7 @@ enum event_pc {			/* POSTCODE event identifier tuples */
 #define POSTCODE_SEVERITY_ERR DIAG_SEVERITY_ERR
 #define POSTCODE_SEVERITY_ERR DIAG_SEVERITY_ERR
 #define POSTCODE_SEVERITY_WARNING DIAG_SEVERITY_WARNING
 #define POSTCODE_SEVERITY_WARNING DIAG_SEVERITY_WARNING
 #define POSTCODE_SEVERITY_INFO DIAG_SEVERITY_PRINT	/* TODO-> Info currently
 #define POSTCODE_SEVERITY_INFO DIAG_SEVERITY_PRINT	/* TODO-> Info currently
-							 * doesnt show, so we
+							 * doesn't show, so we
 							 * set info=warning */
 							 * set info=warning */
 /* example call of POSTCODE_LINUX_2(VISOR_CHIPSET_PC, POSTCODE_SEVERITY_ERR);
 /* example call of POSTCODE_LINUX_2(VISOR_CHIPSET_PC, POSTCODE_SEVERITY_ERR);
  * Please also note that the resulting postcode is in hex, so if you are
  * Please also note that the resulting postcode is in hex, so if you are

+ 1 - 1
drivers/staging/vt6655/rxtx.c

@@ -656,7 +656,7 @@ s_vFillRTSHead(
 		uRTSFrameLen -= 4;
 		uRTSFrameLen -= 4;
 	}
 	}
 
 
-	/* Note: So far RTSHead dosen't appear in ATIM & Beacom DMA, so we don't need to take them into account.
+	/* Note: So far RTSHead doesn't appear in ATIM & Beacom DMA, so we don't need to take them into account.
 	       Otherwise, we need to modify codes for them. */
 	       Otherwise, we need to modify codes for them. */
 	if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) {
 	if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) {
 		if (byFBOption == AUTO_FB_NONE) {
 		if (byFBOption == AUTO_FB_NONE) {