ASoC: simple-card: fix a bug where cinfo will be NULL before using it
authorXiubo Li <Li.Xiubo@freescale.com>
Thu, 9 Jan 2014 09:19:08 +0000 (17:19 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 9 Jan 2014 17:35:46 +0000 (17:35 +0000)
commit708ec0241c56b85176937e79314430f4f71e40c6
tree67b8da70df74a3ff8f2e6c21418ec168e41ea971
parent8c0b8230b2d9708eed5b50f9f8442aaa879a3c57
ASoC: simple-card: fix a bug where cinfo will be NULL before using it

If the dt is not used, the cinfo will be always NULL before using it.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/generic/simple-card.c