diff mbox

ALSA: compress: fix more typos

Message ID 1457116169-18952-1-git-send-email-vinod.koul@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vinod Koul March 4, 2016, 6:29 p.m. UTC
More inspection of code revealed few more typos so fix them as well

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
 sound/core/compress_offload.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Takashi Iwai March 4, 2016, 8:56 p.m. UTC | #1
On Fri, 04 Mar 2016 19:29:29 +0100,
Vinod Koul wrote:
> 
> More inspection of code revealed few more typos so fix them as well
> 
> Signed-off-by: Vinod Koul <vinod.koul@intel.com>

Applied, thanks.


Takashi


> ---
>  sound/core/compress_offload.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c
> index c4b14b5f1b35..7d59dbda8897 100644
> --- a/sound/core/compress_offload.c
> +++ b/sound/core/compress_offload.c
> @@ -703,7 +703,7 @@ static int snd_compress_wait_for_drain(struct snd_compr_stream *stream)
>  
>  	/*
>  	 * We are called with lock held. So drop the lock while we wait for
> -	 * drain complete notfication from the driver
> +	 * drain complete notification from the driver
>  	 *
>  	 * It is expected that driver will notify the drain completion and then
>  	 * stream will be moved to SETUP state, even if draining resulted in an
> @@ -758,7 +758,7 @@ static int snd_compr_next_track(struct snd_compr_stream *stream)
>  	if (stream->runtime->state != SNDRV_PCM_STATE_RUNNING)
>  		return -EPERM;
>  
> -	/* you can signal next track isf this is intended to be a gapless stream
> +	/* you can signal next track if this is intended to be a gapless stream
>  	 * and current track metadata is set
>  	 */
>  	if (stream->metadata_set == false)
> -- 
> 1.9.1
>
diff mbox

Patch

diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c
index c4b14b5f1b35..7d59dbda8897 100644
--- a/sound/core/compress_offload.c
+++ b/sound/core/compress_offload.c
@@ -703,7 +703,7 @@  static int snd_compress_wait_for_drain(struct snd_compr_stream *stream)
 
 	/*
 	 * We are called with lock held. So drop the lock while we wait for
-	 * drain complete notfication from the driver
+	 * drain complete notification from the driver
 	 *
 	 * It is expected that driver will notify the drain completion and then
 	 * stream will be moved to SETUP state, even if draining resulted in an
@@ -758,7 +758,7 @@  static int snd_compr_next_track(struct snd_compr_stream *stream)
 	if (stream->runtime->state != SNDRV_PCM_STATE_RUNNING)
 		return -EPERM;
 
-	/* you can signal next track isf this is intended to be a gapless stream
+	/* you can signal next track if this is intended to be a gapless stream
 	 * and current track metadata is set
 	 */
 	if (stream->metadata_set == false)