diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-02 11:24:24 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-03 06:47:21 -0500 |
commit | a00f90f9306c06bee8e909628f39052bb3b0cc9e (patch) | |
tree | 937397ec78583b339393e768a1aa438357923638 | |
parent | 8bc3c2c207dc82d47ffc6ef7b788e04ea637d3f1 (diff) |
ASoC: Apostrophe patrol in soc-core.c
Silly little grammar nit but it bugs the hell out of me.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
-rw-r--r-- | sound/soc/soc-core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index eb950f73076a..20dcc978588f 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -525,7 +525,7 @@ static int soc_pcm_open(struct snd_pcm_substream *substream) | |||
525 | } | 525 | } |
526 | } | 526 | } |
527 | 527 | ||
528 | /* Check that the codec and cpu DAI's are compatible */ | 528 | /* Check that the codec and cpu DAIs are compatible */ |
529 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { | 529 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { |
530 | runtime->hw.rate_min = | 530 | runtime->hw.rate_min = |
531 | max(codec_dai_drv->playback.rate_min, | 531 | max(codec_dai_drv->playback.rate_min, |
@@ -874,7 +874,7 @@ codec_err: | |||
874 | } | 874 | } |
875 | 875 | ||
876 | /* | 876 | /* |
877 | * Free's resources allocated by hw_params, can be called multiple times | 877 | * Frees resources allocated by hw_params, can be called multiple times |
878 | */ | 878 | */ |
879 | static int soc_pcm_hw_free(struct snd_pcm_substream *substream) | 879 | static int soc_pcm_hw_free(struct snd_pcm_substream *substream) |
880 | { | 880 | { |
@@ -898,7 +898,7 @@ static int soc_pcm_hw_free(struct snd_pcm_substream *substream) | |||
898 | if (platform->driver->ops->hw_free) | 898 | if (platform->driver->ops->hw_free) |
899 | platform->driver->ops->hw_free(substream); | 899 | platform->driver->ops->hw_free(substream); |
900 | 900 | ||
901 | /* now free hw params for the DAI's */ | 901 | /* now free hw params for the DAIs */ |
902 | if (codec_dai->driver->ops->hw_free) | 902 | if (codec_dai->driver->ops->hw_free) |
903 | codec_dai->driver->ops->hw_free(substream, codec_dai); | 903 | codec_dai->driver->ops->hw_free(substream, codec_dai); |
904 | 904 | ||
@@ -1005,7 +1005,7 @@ static int soc_suspend(struct device *dev) | |||
1005 | /* we're going to block userspace touching us until resume completes */ | 1005 | /* we're going to block userspace touching us until resume completes */ |
1006 | snd_power_change_state(card->snd_card, SNDRV_CTL_POWER_D3hot); | 1006 | snd_power_change_state(card->snd_card, SNDRV_CTL_POWER_D3hot); |
1007 | 1007 | ||
1008 | /* mute any active DAC's */ | 1008 | /* mute any active DACs */ |
1009 | for (i = 0; i < card->num_rtd; i++) { | 1009 | for (i = 0; i < card->num_rtd; i++) { |
1010 | struct snd_soc_dai *dai = card->rtd[i].codec_dai; | 1010 | struct snd_soc_dai *dai = card->rtd[i].codec_dai; |
1011 | struct snd_soc_dai_driver *drv = dai->driver; | 1011 | struct snd_soc_dai_driver *drv = dai->driver; |