ASoC: simple-card: fix __asoc_simple_card_dai_init
authorXiubo Li <Li.Xiubo@freescale.com>
Fri, 24 Jan 2014 07:43:00 +0000 (15:43 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:45:34 +0000 (12:45 +0000)
commit4763ebe226156db985fe75bfe930c4069d1f4207
tree7bb1f132ed9b709e09066de7c65ac1fa36349fb9
parentb367a3252b365fd545fc589a40cad3976e73d7d7
ASoC: simple-card: fix __asoc_simple_card_dai_init

If the CPU/CODEC DAI set_sysclk() is not support, the -ENOTSUPP will returnd.
Here do the check like set_fmt().

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