ASoC: pcm: Improve error logging
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 1 Feb 2012 21:30:32 +0000 (21:30 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 2 Feb 2012 14:14:17 +0000 (14:14 +0000)
commit25bfe662e8c42f84851f79ed6ada5ef96a2ff329
tree3072ce79d7e5f648dfb6e067f8ee440cab82e3c2
parentbc6c117ef0d8c09d643ab3da8b4976e32e2fcdab
ASoC: pcm: Improve error logging

Use the standard logging macros and use dev_ variants where we can, also
reporting error codes whenever we report an error. These changes (the
error codes in particular) make it noticeably easier to figure out what
went wrong just from the basic dmesg output.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-pcm.c