]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3b00db68c95f5ca8596bfa15db5bcebcfe3c4b14
tree3072ce79d7e5f648dfb6e067f8ee440cab82e3c2
parentf4cfea21478b80a5654c29ada6d1a908372a16c1
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