ASoC: Report an error for unknown adav80x formats
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 16 Jul 2011 02:34:58 +0000 (11:34 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 17 Jul 2011 04:15:20 +0000 (13:15 +0900)
commitca1004bab9c6829e64036f7da5e25a698756ee28
treecc7fa9199cddbe119c75654331f36fea2cd26142
parentf0f5039c3dcc6f80756128aa38f2a4f5b895bbf1
ASoC: Report an error for unknown adav80x formats

Not only fixes error handling but also some uninitialized variable
warnings.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
sound/soc/codecs/adav80x.c