summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJonas Aaberg <jonas.aberg@stericsson.com>2012-02-06 12:12:17 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:05:06 +0200
commitb6b7e8e064cfd15b9358de9a61160d609b830bc4 (patch)
treedd075c549c0c07cfdfe47751ec640da12e2a891a /sound
parent3fde364b673c58d925c4cbdefb2aea82b3a6d269 (diff)
ASoC: codecs: ab5500: Fix build warning
ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Idefcb26470c85b7089f2bce411f4a37f1687aaf3 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47969 Reviewed-by: QABUILD
Diffstat (limited to 'sound')
-rwxr-xr-xsound/soc/codecs/ab5500.c3
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)) {