aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisael Lopez Cruz2017-02-06 17:46:26 -0600
committerMisael Lopez Cruz2017-02-06 18:00:39 -0600
commit94698bea438a3f4a9924cf3c5fce9890301a80f1 (patch)
tree92819ad54999fd2cb187b5e356eab7c92f2a70b5
parent2a0843f374ae71bb3562f925d930d6cdd6a45b64 (diff)
downloadkernel-audio-p-ti-linux-3.14.y-common/audio-for-next.tar.gz
kernel-audio-p-ti-linux-3.14.y-common/audio-for-next.tar.xz
kernel-audio-p-ti-linux-3.14.y-common/audio-for-next.zip
ASoC: core: Assign codec's configuration init return valuep-ti-linux-3.14.y-common/audio-for-next
The return value of snd_soc_init_codec_conf() function wasn't being assigned to the corresponding variable. Change-Id: I31c8cbeb96df52ce9500999cab41598091644178 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 287a8362089a..b8778e48da98 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1871,7 +1871,7 @@ static int snd_soc_instantiate_card(struct snd_soc_card *card)
1871 1871
1872 /* resolve codec configuration */ 1872 /* resolve codec configuration */
1873 for (i = 0; i < card->num_configs; i++) { 1873 for (i = 0; i < card->num_configs; i++) {
1874 snd_soc_init_codec_conf(card, i); 1874 ret = snd_soc_init_codec_conf(card, i);
1875 if (ret) 1875 if (ret)
1876 goto base_error; 1876 goto base_error;
1877 } 1877 }