From: A. Maitland Bottoms <bottoms@debian.org>
Date: Tue, 26 Apr 2016 19:24:11 -0400
Subject: spelling

---
 comparitor -> comparator
 paramter -> parameter
 suppored -> supported
 tranfers -> transfers
 paremeter -> parameter
 evironment -> environment

--- a/host/libraries/libbladeRF/src/backend/usb/libusb.c
+++ b/host/libraries/libbladeRF/src/backend/usb/libusb.c
@@ -854,7 +854,7 @@
         *device_speed = BLADERF_DEVICE_SPEED_UNKNOWN;
 
         if (speed == LIBUSB_SPEED_FULL) {
-            log_debug("Full speed connection is not suppored.\n");
+            log_debug("Full speed connection is not supported.\n");
             status = BLADERF_ERR_UNSUPPORTED;
         } else if (speed == LIBUSB_SPEED_LOW) {
             log_debug("Low speed connection is not supported.\n");
@@ -1251,7 +1251,7 @@
         malloc(num_transfers * sizeof(struct libusb_transfer *));
 
     if (stream_data->transfers == NULL) {
-        log_error("Failed to allocate libusb tranfers\n");
+        log_error("Failed to allocate libusb transfers\n");
         status = BLADERF_ERR_MEM;
         goto error;
     }
--- a/host/utilities/bladeRF-cli/src/cmd/doc/interactive-help.md
+++ b/host/utilities/bladeRF-cli/src/cmd/doc/interactive-help.md
@@ -355,10 +355,10 @@
   - `<pa|lna|aux> [on|off]`
 
     Enable or disable the power amplifier (PA), low-noise amplifier (lna) or
-    auxillary LNA (aux). The current state if the specified device is printed
+    auxiliary LNA (aux). The current state if the specified device is printed
     if [on|off] is not specified.
 
-    Note: The auxillary path on the XB-300 is not populated with components by
+    Note: The auxiliary path on the XB-300 is not populated with components by
           default; the `aux` control will have no effect upon the RX signal.
           This option is available for users to modify their board with custom
           hardware.
@@ -784,7 +784,7 @@
 
 6.   Re-configure the master and slaves to clear fire requests and re-arm.
 
-        Steps 1 through 5 may be repeated as neccessary.
+        Steps 1 through 5 may be repeated as necessary.
 
 7.   Disable triggering on all slaves
 
--- a/host/utilities/bladeRF-cli/src/cmd/doc/cmd_help.man.in
+++ b/host/utilities/bladeRF-cli/src/cmd/doc/cmd_help.man.in
@@ -478,11 +478,11 @@
 .RS 2
 .PP
 Enable or disable the power amplifier (PA), low\-noise amplifier (lna)
-or auxillary LNA (aux).
+or auxiliary LNA (aux).
 The current state if the specified device is printed if [on|off] is not
 specified.
 .PP
-Note: The auxillary path on the XB\-300 is not populated with components
+Note: The auxiliary path on the XB\-300 is not populated with components
 by default; the \f[C]aux\f[] control will have no effect upon the RX
 signal.
 This option is available for users to modify their board with custom
@@ -1190,7 +1190,7 @@
 .IP
 .nf
 \f[C]
-Steps\ 1\ through\ 5\ may\ be\ repeated\ as\ neccessary.
+Steps\ 1\ through\ 5\ may\ be\ repeated\ as\ necessary.
 \f[]
 .fi
 .RE
--- a/host/utilities/bladeRF-cli/src/cmd/doc/cmd_help.h.in
+++ b/host/utilities/bladeRF-cli/src/cmd/doc/cmd_help.h.in
@@ -754,7 +754,7 @@
   "6.  Re-configure the master and slaves to clear fire requests and\n" \
   "    re-arm.\n" \
   "\n" \
-  "        Steps 1 through 5 may be repeated as neccessary.\n" \
+  "        Steps 1 through 5 may be repeated as necessary.\n" \
   "\n" \
   "7.  Disable triggering on all slaves\n" \
   "\n" \
--- a/host/utilities/bladeRF-cli/src/input/input.h
+++ b/host/utilities/bladeRF-cli/src/input/input.h
@@ -52,7 +52,7 @@
 char * input_expand_path(const char *path);
 
 /**
- * Notify input support that we caught CTRL-C. This is neccessary if
+ * Notify input support that we caught CTRL-C. This is necessary if
  * the underlying support doesn't catch signals, such as the simple fgets-based
  * implementation.
  */
--- a/host/common/include/dc_calibration.h
+++ b/host/common/include/dc_calibration.h
@@ -107,7 +107,7 @@
  *
  * This requires use of both RX and TX modules in an internal loopback mode;
  * neither should be in use when this function is called. It should not
- * be neccessary to disconnect the RX and TX ports, but it is still recommended,
+ * be necessary to disconnect the RX and TX ports, but it is still recommended,
  * just to err on the side of caution.
  *
  * @pre dc_calibration_lms6() should have been called for all modules prior to
--- a/host/libraries/libbladeRF_bindings/matlab/CHANGELOG
+++ b/host/libraries/libbladeRF_bindings/matlab/CHANGELOG
@@ -58,7 +58,7 @@
 
 Changes:
   * libbladeRF-proto.m now searches the current working directory and
-    MATLABPATH for the neccessary THUNK library file.
+    MATLABPATH for the necessary THUNK library file.
 
 
 v0.1.0 (2015-12-31)
--- a/fpga_common/src/lms.c
+++ b/fpga_common/src/lms.c
@@ -2907,7 +2907,7 @@
                 return status;
             }
 
-            /* Power DC comparitors down, per FAQ 5.26 (rev 1.0r10) */
+            /* Power DC comparators down, per FAQ 5.26 (rev 1.0r10) */
             status = lms_set(dev, 0x6e, (3 << 6));
             if (status != 0) {
                 return status;
--- a/host/utilities/bladeRF-cli/src/cmd/lms_reg_info.c
+++ b/host/utilities/bladeRF-cli/src/cmd/lms_reg_info.c
@@ -621,8 +621,8 @@
             break;
 
         case 0x6e:
-            PRINT_BITS("PD[7] DC cal comparitor for VGA2B", 7, 7, value);
-            PRINT_BITS("PD[6] DC cal comparitor for VGA2A", 6, 6, value);
+            PRINT_BITS("PD[7] DC cal comparator for VGA2B", 7, 7, value);
+            PRINT_BITS("PD[6] DC cal comparator for VGA2A", 6, 6, value);
             PRINT_BITS("SPARE0[5:0]", 5, 0, value);
             break;
 
--- a/thirdparty/analogdevicesinc/no-OS/drivers/ad9371/mykonos.c
+++ b/thirdparty/analogdevicesinc/no-OS/drivers/ad9371/mykonos.c
@@ -5008,7 +5008,7 @@
  * Rx gainMode structure member is updated with the new value
  *
  * \retval MYKONOS_ERR_OK Function completed successfully
- * \retval MYKONOS_ERR_INV_RX_GAIN_MODE_PARM Invalid AGC mode pass in function mode paramter
+ * \retval MYKONOS_ERR_INV_RX_GAIN_MODE_PARM Invalid AGC mode pass in function mode parameter
  */
 mykonosErr_t MYKONOS_setRxGainControlMode(mykonosDevice_t *device, mykonosGainMode_t mode)
 {
@@ -7269,9 +7269,9 @@
         case MYKONOS_ERR_RXFRAMER_INV_FK_PARAM:
             return "Invalid FK parameter detected in MYKONOS_setupJesd204bFramer()\n";
         case MYKONOS_ERR_OBSRXFRAMER_INV_FK_PARAM:
-            return "Invalid FK paramter detected in MYKONOS_setupJesd204bObsRxFramer()\n";
+            return "Invalid FK parameter detected in MYKONOS_setupJesd204bObsRxFramer()\n";
         case MYKONOS_ERR_INV_OBSRXFRAMER_PCLKDIV_PARM:
-            return "Invalid PCLKDIV paramter detected in MYKONOS_setupSerializers()\n";
+            return "Invalid PCLKDIV parameter detected in MYKONOS_setupSerializers()\n";
         case MYKONOS_ERR_PU_OBSRXPATH_INV_LOSOURCE_PARAM:
             return "Invalid LO Source for OBSRX data path \n";
         case MYKONOS_ERR_ARM_RADIOON_FAILED:
--- a/host/utilities/bladeRF-cli/src/cmd/rxtx.c
+++ b/host/utilities/bladeRF-cli/src/cmd/rxtx.c
@@ -555,7 +555,7 @@
                 status = CLI_RET_INVPARAM;
             } else if (tmp % RXTX_SAMPLES_MIN != 0) {
                 cli_err(s, argv0,
-                        "The '%s' paramter must be a multiple of %u.\n", param,
+                        "The '%s' parameter must be a multiple of %u.\n", param,
                         RXTX_SAMPLES_MIN);
                 status = CLI_RET_INVPARAM;
             } else {
--- a/host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c
+++ b/host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c
@@ -2994,7 +2994,7 @@
      */
     if (!getenv(env_override) && !is_valid_fw_size(length)) {
         log_info("Detected potentially invalid firmware file.\n");
-        log_info("Define BLADERF_SKIP_FW_SIZE_CHECK in your evironment "
+        log_info("Define BLADERF_SKIP_FW_SIZE_CHECK in your environment "
                 "to skip this check.\n");
         return BLADERF_ERR_INVAL;
     }
