ASoC: various vendors: delete repeated words in comments
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 8 Aug 2020 01:22:09 +0000 (18:22 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 18 Aug 2020 13:52:32 +0000 (14:52 +0100)
Drop the repeated words {related, we, is, the} in comments.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
Link: https://lore.kernel.org/r/20200808012209.10880-1-rdunlap@infradead.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_dma.c
sound/soc/intel/skylake/skl-sst.c
sound/soc/meson/axg-tdm-formatter.c
sound/soc/sprd/sprd-pcm-compress.c
sound/soc/sunxi/sun4i-codec.c
sound/soc/ti/davinci-mcasp.c

index be02125..e0c39c5 100644 (file)
@@ -154,7 +154,7 @@ static void fsl_dma_abort_stream(struct snd_pcm_substream *substream)
 /**
  * fsl_dma_update_pointers - update LD pointers to point to the next period
  *
- * As each period is completed, this function changes the the link
+ * As each period is completed, this function changes the link
  * descriptor pointers for that period to point to the next period.
  */
 static void fsl_dma_update_pointers(struct fsl_dma_private *dma_private)
index 61a8e47..00a97ce 100644 (file)
@@ -354,7 +354,7 @@ static int skl_transfer_module(struct sst_dsp *ctx, const void *data,
        /*
         * if bytes_left > 0 then wait for BDL complete interrupt and
         * copy the next chunk till bytes_left is 0. if bytes_left is
-        * is zero, then wait for load module IPC reply
+        * zero, then wait for load module IPC reply
         */
        while (bytes_left > 0) {
                curr_pos = size - bytes_left;
index f7e8e9d..cab7fa2 100644 (file)
@@ -398,7 +398,7 @@ void axg_tdm_stream_free(struct axg_tdm_stream *ts)
        /*
         * If the list is not empty, it would mean that one of the formatter
         * widget is still powered and attached to the interface while we
-        * we are removing the TDM DAI. It should not be possible
+        * are removing the TDM DAI. It should not be possible
         */
        WARN_ON(!list_empty(&ts->formatter_list));
        mutex_destroy(&ts->lock);
index 749dcb7..6507c03 100644 (file)
@@ -559,7 +559,7 @@ static int sprd_platform_compr_copy(struct snd_soc_component *component,
                } else {
                        /*
                         * If the data count is larger than the available spaces
-                        * of the the stage 0 IRAM buffer, we should copy one
+                        * of the stage 0 IRAM buffer, we should copy one
                         * partial data to the stage 0 IRAM buffer, and copy
                         * the left to the stage 1 DDR buffer.
                         */
index 2af6404..6c13cc8 100644 (file)
@@ -335,7 +335,7 @@ static int sun4i_codec_prepare_capture(struct snd_pcm_substream *substream,
 
        /*
         * FIXME: Undocumented in the datasheet, but
-        *        Allwinner's code mentions that it is related
+        *        Allwinner's code mentions that it is
         *        related to microphone gain
         */
        if (of_device_is_compatible(scodec->dev->of_node,
index 6174407..3ffdd0f 100644 (file)
@@ -633,7 +633,7 @@ static int __davinci_mcasp_set_clkdiv(struct davinci_mcasp *mcasp, int div_id,
                 * right channels), so it has to be divided by number
                 * of tdm-slots (for I2S - divided by 2).
                 * Instead of storing this ratio, we calculate a new
-                * tdm_slot width by dividing the the ratio by the
+                * tdm_slot width by dividing the ratio by the
                 * number of configured tdm slots.
                 */
                mcasp->slot_width = div / mcasp->tdm_slots;