diff options
Diffstat (limited to 'sound/soc/codecs/tlv320aic3x.c')
-rw-r--r-- | sound/soc/codecs/tlv320aic3x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c index 8d20f6ec20f3..bde2d1ade0c6 100644 --- a/sound/soc/codecs/tlv320aic3x.c +++ b/sound/soc/codecs/tlv320aic3x.c | |||
@@ -802,8 +802,7 @@ static int aic3x_hw_params(struct snd_pcm_substream *substream, | |||
802 | struct snd_pcm_hw_params *params, | 802 | struct snd_pcm_hw_params *params, |
803 | struct snd_soc_dai *dai) | 803 | struct snd_soc_dai *dai) |
804 | { | 804 | { |
805 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 805 | struct snd_soc_codec *codec = dai->codec; |
806 | struct snd_soc_codec *codec =rtd->codec; | ||
807 | struct aic3x_priv *aic3x = snd_soc_codec_get_drvdata(codec); | 806 | struct aic3x_priv *aic3x = snd_soc_codec_get_drvdata(codec); |
808 | int codec_clk = 0, bypass_pll = 0, fsref, last_clk = 0; | 807 | int codec_clk = 0, bypass_pll = 0, fsref, last_clk = 0; |
809 | u8 data, j, r, p, pll_q, pll_p = 1, pll_r = 1, pll_j = 1; | 808 | u8 data, j, r, p, pll_q, pll_p = 1, pll_r = 1, pll_j = 1; |