Skip to content

Commit

Permalink
ALSA: compress: fix more typos
Browse files Browse the repository at this point in the history
More inspection of code revealed few more typos so fix them as well

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Vinod Koul authored and Takashi Iwai committed Mar 4, 2016
1 parent 41eb94f commit cdb1ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/core/compress_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,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
Expand Down Expand Up @@ -759,7 +759,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)
Expand Down

0 comments on commit cdb1ee3

Please sign in to comment.