diff options
Diffstat (limited to 'sound')
-rwxr-xr-x | sound/soc/codecs/ab5500.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/ab5500.c b/sound/soc/codecs/ab5500.c index 49b9c1cc178..aff0ad51f6a 100755 --- a/sound/soc/codecs/ab5500.c +++ b/sound/soc/codecs/ab5500.c @@ -1294,9 +1294,10 @@ static int ab5500_pcm_hw_params(struct snd_pcm_substream *substream, static int ab5500_pcm_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) { - dev_info(ab5500_dev, "%s called.\n", __func__); u8 value = (dai->id == 1) ? INTERFACE1 : INTERFACE0; + dev_info(ab5500_dev, "%s called.\n", __func__); + /* Configure registers for either playback or capture */ if ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK) && !(ab5500_codec_privates[dai->id].playback_active == true)) { |