From 0d42da6e124c23338a04d55faf03f34c3dec7f26 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 5 Aug 2014 16:07:11 +0200 Subject: [PATCH] meta-digi: cosmetic, fix typos Signed-off-by: Javier Viguera --- .../recipes-bsp/libdigi/libdigi/misc_helper.h | 2 +- .../recipes-kernel/kernel-module-gpio/files/gpio.c | 2 +- meta-digi-dey/conf/distro/dey.conf | 2 +- .../recipes-core/images/dey-image-minimal.bb | 2 +- .../files/accelerometer_test/accelerometer_test.c | 2 +- .../dey-examples/files/battery_test/battery_test.c | 2 +- .../dey-examples/files/btconfig/btconfig.c | 12 ++++++------ .../dey-examples/files/sahara_test/callback.c | 8 ++++---- .../dey-examples/files/vplay_test/vplay.c | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/libdigi/libdigi/misc_helper.h b/meta-digi-arm/recipes-bsp/libdigi/libdigi/misc_helper.h index 3bd170af9..d809980f6 100644 --- a/meta-digi-arm/recipes-bsp/libdigi/libdigi/misc_helper.h +++ b/meta-digi-arm/recipes-bsp/libdigi/libdigi/misc_helper.h @@ -8,7 +8,7 @@ * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * - * Description: miscellanous definitions that simplifies developing + * Description: miscellaneous definitions that simplifies developing * May require 'string.h' or 'log.h' * */ diff --git a/meta-digi-arm/recipes-kernel/kernel-module-gpio/files/gpio.c b/meta-digi-arm/recipes-kernel/kernel-module-gpio/files/gpio.c index 02be001e2..9e0ecd6e4 100644 --- a/meta-digi-arm/recipes-kernel/kernel-module-gpio/files/gpio.c +++ b/meta-digi-arm/recipes-kernel/kernel-module-gpio/files/gpio.c @@ -303,7 +303,7 @@ static int gpio_init(void) } if (ret < 0){ - pr_err(DRIVER_NAME ": major %d allready in use \n", gpio_major); + pr_err(DRIVER_NAME ": major %d already in use \n", gpio_major); return ret; } diff --git a/meta-digi-dey/conf/distro/dey.conf b/meta-digi-dey/conf/distro/dey.conf index feaedda1c..411219c68 100644 --- a/meta-digi-dey/conf/distro/dey.conf +++ b/meta-digi-dey/conf/distro/dey.conf @@ -97,7 +97,7 @@ ftp://.*/.* ${DIGI_MIRROR}/ \n \ http://.*/.* ${DIGI_MIRROR}/ \n \ https://.*/.* ${DIGI_MIRROR}/ \n" -# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully +# The CONNECTIVITY_CHECK_URI's are used to test whether we can successfully # fetch from the network (and warn you if not). To disable the test set # the variable to be empty. # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD diff --git a/meta-digi-dey/recipes-core/images/dey-image-minimal.bb b/meta-digi-dey/recipes-core/images/dey-image-minimal.bb index 48d8be56d..26d7f6af8 100644 --- a/meta-digi-dey/recipes-core/images/dey-image-minimal.bb +++ b/meta-digi-dey/recipes-core/images/dey-image-minimal.bb @@ -27,7 +27,7 @@ IMAGE_FEATURES += "${VIRTUAL_RUNTIME_ssh_server}" IMAGE_FEATURES += "dey-network" IMAGE_FEATURES += "package-management" -# Machine dependant features +# Machine dependent features IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "alsa", "dey-audio", "", d)}' IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "accel-video", "dey-gstreamer", "", d)}' IMAGE_FEATURES += '${@base_contains("MACHINE_FEATURES", "wifi", "dey-wireless", "", d)}' diff --git a/meta-digi-dey/recipes-digi/dey-examples/files/accelerometer_test/accelerometer_test.c b/meta-digi-dey/recipes-digi/dey-examples/files/accelerometer_test/accelerometer_test.c index dea6fc306..f4f2bd832 100644 --- a/meta-digi-dey/recipes-digi/dey-examples/files/accelerometer_test/accelerometer_test.c +++ b/meta-digi-dey/recipes-digi/dey-examples/files/accelerometer_test/accelerometer_test.c @@ -187,7 +187,7 @@ int main(int argc, char *argv[]) break; } } else if (inp_event.type == EV_SYN && valid_x && valid_y && valid_z) { - /* Only need to validate data the 1st time, so it's not necesary to reset flags */ + /* Only need to validate data the 1st time, so it's not necessary to reset flags */ printf("X = %d Y = %d Z = %d\n", abs_x, abs_y, abs_z); } } while (bytes_read); diff --git a/meta-digi-dey/recipes-digi/dey-examples/files/battery_test/battery_test.c b/meta-digi-dey/recipes-digi/dey-examples/files/battery_test/battery_test.c index 5512e574b..83d080804 100644 --- a/meta-digi-dey/recipes-digi/dey-examples/files/battery_test/battery_test.c +++ b/meta-digi-dey/recipes-digi/dey-examples/files/battery_test/battery_test.c @@ -108,7 +108,7 @@ static void daemonize( const char *lockfile ) } } - /* Trap signals that we expect to recieve */ + /* Trap signals that we expect to receive */ signal(SIGCHLD,signal_handler); signal(SIGUSR1,signal_handler); signal(SIGALRM,signal_handler); diff --git a/meta-digi-dey/recipes-digi/dey-examples/files/btconfig/btconfig.c b/meta-digi-dey/recipes-digi/dey-examples/files/btconfig/btconfig.c index bccd40684..3ded35716 100644 --- a/meta-digi-dey/recipes-digi/dey-examples/files/btconfig/btconfig.c +++ b/meta-digi-dey/recipes-digi/dey-examples/files/btconfig/btconfig.c @@ -3135,7 +3135,7 @@ static void cmd_wotp(int dev_id, int argc, char **argv) } ReverseHexString(argv[2]); if (!write_otpRaw(dev_id, address, length, (UCHAR *)argv[2])) - printf("Write to OTP sucessful!\n"); + printf("Write to OTP successful!\n"); } static int write_otpRaw(int dev_id, int address, int length, UCHAR *data) @@ -4463,7 +4463,7 @@ int SetMasterBlasterTestMode(tBRM_Control_packet *MasterBlaster, tMasterBlasterO sizeof(TestModeOption)/sizeof(tMasterBlasterOption), TM,1)) { MasterBlaster->testCtrl.Mode = (UCHAR)Value; - // Enable continous Tx should disable continous Rx + // Enable continuous Tx should disable continuous Rx MasterBlaster->ContRxMode = DISABLE; MasterBlaster->ContTxMode = DISABLE; return TRUE; @@ -4639,7 +4639,7 @@ int SetMasterBlasterContTxMode (tBRM_Control_packet *MasterBlaster, tMasterBlast MasterBlaster->ContTxMode = (UCHAR)Value; if (MasterBlaster->ContTxMode == ENABLE) { - // Enable continous Tx should disable continous Rx + // Enable continuous Tx should disable continuous Rx MasterBlaster->ContRxMode = DISABLE; MasterBlaster->LERxMode = DISABLE; MasterBlaster->LETxMode = DISABLE; @@ -4677,7 +4677,7 @@ int SetMasterBlasterLERxMode (tBRM_Control_packet *MasterBlaster, tMasterBlaster MasterBlaster->LERxMode = (UCHAR)Value; if (MasterBlaster->LERxMode == ENABLE) { - /* Enable continous Tx should disable other modes */ + /* Enable continuous Tx should disable other modes */ MasterBlaster->LETxMode = DISABLE; MasterBlaster->ContTxMode = DISABLE; MasterBlaster->ContRxMode = DISABLE; @@ -4708,7 +4708,7 @@ int SetMasterBlasterLETxMode (tBRM_Control_packet *MasterBlaster, tMasterBlaster MasterBlaster->LETxMode = (UCHAR)Value; if (MasterBlaster->LETxMode == ENABLE) { - /* Enable continous Tx should disable other modes */ + /* Enable continuous Tx should disable other modes */ MasterBlaster->LERxMode = DISABLE; MasterBlaster->ContTxMode = DISABLE; MasterBlaster->ContRxMode = DISABLE; @@ -4754,7 +4754,7 @@ int SetMasterBlasterContRxMode (tBRM_Control_packet *MasterBlaster, tMasterBlast MasterBlaster->ContRxMode = (UCHAR)Value; if (MasterBlaster->ContRxMode == ENABLE) { - // Enable continous Tx should disable continous Rx + // Enable continuous Tx should disable continuous Rx MasterBlaster->ContTxMode = DISABLE; MasterBlaster->LERxMode = DISABLE; MasterBlaster->LETxMode = DISABLE; diff --git a/meta-digi-dey/recipes-digi/dey-examples/files/sahara_test/callback.c b/meta-digi-dey/recipes-digi/dey-examples/files/sahara_test/callback.c index 0c5d12095..8168034ab 100644 --- a/meta-digi-dey/recipes-digi/dey-examples/files/sahara_test/callback.c +++ b/meta-digi-dey/recipes-digi/dey-examples/files/sahara_test/callback.c @@ -230,7 +230,7 @@ static int run_test1(fsl_shw_uco_t* my_ctx, volatile struct rand_test tests[]) while (++loop_count < 400000) { uint32_t callbacks_received = 0; - /* check that every request was serviced succesfully */ + /* check that every request was serviced successfully */ for (loop = 0; loop < RESULTS_SIZE; loop++) { if (tests[loop].result_received) { callbacks_received++; @@ -242,7 +242,7 @@ static int run_test1(fsl_shw_uco_t* my_ctx, volatile struct rand_test tests[]) usleep(5); } - /* check that every request was serviced succesfully */ + /* check that every request was serviced successfully */ for (loop = 0; loop < RESULTS_SIZE; loop++) { if (tests[loop].initiated) { if (!tests[loop].result_received) { @@ -301,7 +301,7 @@ static int run_test2(fsl_shw_uco_t* my_ctx, volatile struct rand_test tests[]) while (++loop_count < 8000000) { uint32_t callbacks_received = 0; - /* check that every request was serviced succesfully */ + /* check that every request was serviced successfully */ for (loop = 0; loop < RESULTS_SIZE; loop++) { if (tests[loop].result_received) { callbacks_received++; @@ -319,7 +319,7 @@ static int run_test2(fsl_shw_uco_t* my_ctx, volatile struct rand_test tests[]) passed = 0; } - /* check that every request was serviced succesfully */ + /* check that every request was serviced successfully */ for (loop = 0; loop < RESULTS_SIZE; loop++) { if (tests[loop].initiated) { if (!tests[loop].result_received) { diff --git a/meta-digi-dey/recipes-digi/dey-examples/files/vplay_test/vplay.c b/meta-digi-dey/recipes-digi/dey-examples/files/vplay_test/vplay.c index e54769a1b..a7941df91 100644 --- a/meta-digi-dey/recipes-digi/dey-examples/files/vplay_test/vplay.c +++ b/meta-digi-dey/recipes-digi/dey-examples/files/vplay_test/vplay.c @@ -344,7 +344,7 @@ void set_dsp_speed(int *dsp_speed) * * if to_mono: * compress 8 bit stereo data 2:1, needed if we want play 'one track'; - * this is usefull, if you habe SB 1.0 - 2.0 (I have 1.0) and want + * this is useful, if you habe SB 1.0 - 2.0 (I have 1.0) and want * hear the sample (in Mono) * * if to_8: