diff options
author | Mark Brown <broonie@kernel.org> | 2016-01-11 13:54:29 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-11 13:54:29 +0000 |
commit | 804c0a9569bd383358680199a22404aafedcc993 (patch) | |
tree | 44d276d2b85c8952293271828f9dd7cb59cdefc0 /sound/soc/codecs/arizona.c | |
parent | fffe9b89d808782a7370b0f70c7271a9f65a261c (diff) | |
parent | 26eb5a9a6a8545ebb9d45de9e6d43e511b250839 (diff) | |
download | linux-stable-804c0a9569bd383358680199a22404aafedcc993.tar.gz linux-stable-804c0a9569bd383358680199a22404aafedcc993.tar.bz2 linux-stable-804c0a9569bd383358680199a22404aafedcc993.zip |
Merge remote-tracking branch 'asoc/topic/arizona' into asoc-next
Diffstat (limited to 'sound/soc/codecs/arizona.c')
-rw-r--r-- | sound/soc/codecs/arizona.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index fb8f18880524..33143fe1de0b 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c @@ -1494,6 +1494,9 @@ static int arizona_startup(struct snd_pcm_substream *substream, const struct snd_pcm_hw_constraint_list *constraint; unsigned int base_rate; + if (!substream->runtime) + return 0; + switch (dai_priv->clk) { case ARIZONA_CLK_SYSCLK: base_rate = priv->sysclk; |