Commit 07ad822c authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'asoc/topic/ml26124' into asoc-next

parents fc10c6db 8b4b3036
...@@ -342,6 +342,8 @@ static int ml26124_hw_params(struct snd_pcm_substream *substream, ...@@ -342,6 +342,8 @@ static int ml26124_hw_params(struct snd_pcm_substream *substream,
struct ml26124_priv *priv = snd_soc_codec_get_drvdata(codec); struct ml26124_priv *priv = snd_soc_codec_get_drvdata(codec);
int i = get_coeff(priv->mclk, params_rate(hw_params)); int i = get_coeff(priv->mclk, params_rate(hw_params));
if (i < 0)
return i;
priv->substream = substream; priv->substream = substream;
priv->rate = params_rate(hw_params); priv->rate = params_rate(hw_params);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment