audio: fix dai-link multi-codec confs issue [1/1]
authorShuai Li <shuai.li@amlogic.com>
Thu, 20 Jul 2017 11:33:05 +0000 (19:33 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Sat, 22 Jul 2017 15:44:58 +0000 (08:44 -0700)
commit00696a0ddcc21107b6773320633cf1cb612e9a13
tree14e500d9a86d267da70f27b4a86b06f9044f359c
parent9875a0281d6a6def2c06f4557529d61edc730d87
audio: fix dai-link multi-codec confs issue [1/1]

PD#147919: If more than one dai-link configure the codec prefix name,
tinymix shows only the last dai-link codec which has prefix-names.

This fix adds a for-loop to realloc confs for each dai-link setting.
Thus every prefix name will show in tinymix.

Change-Id: I347328a3329eb2bdba0e0b7e2295c75c8f3ec1e8
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
sound/soc/amlogic/auge/card_utils.c