ASoC: soc-core: Show the returned values on error messages
authorFabio Estevam <festevam@gmail.com>
Fri, 17 Feb 2012 21:40:38 +0000 (19:40 -0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 21:51:01 +0000 (13:51 -0800)
commit0837fc624391378ea25c9f811c90d49b8808ba1a
tree88ab80dac57d9f5cd7ea052c6f7206ecb9a10220
parentd5a7f23f9c8be29833ef4d805976b6906c25c658
ASoC: soc-core: Show the returned values on error messages

Showing the returned values on error messages is useful information.

While at it, use pr_err/pr_warn whenever possible.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c