ASoC: Return early with -EINVAL if invalid dai format is detected
authorAxel Lin <axel.lin@gmail.com>
Wed, 5 Oct 2011 23:29:56 +0000 (07:29 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 6 Oct 2011 19:02:56 +0000 (20:02 +0100)
commitac60155f7afa3fd819befa35c2740a7a0d2f1a39
tree2e3c5e858b608fd6c0a7583f580b76d6242c57b1
parent3c08600144f2a15fb3fba31b54cd6600371db6ef
ASoC: Return early with -EINVAL if invalid dai format is detected

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cs4270.c
sound/soc/codecs/cs42l51.c