ASoC: Update DAPM debug and error prints
authorJarkko Nikula <jhnikula@gmail.com>
Tue, 9 Nov 2010 12:40:27 +0000 (14:40 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 10 Nov 2010 15:09:16 +0000 (15:09 +0000)
commitf7d41ae8361fb2d16fe059f65075d92c4efe562c
tree4728d5b9f53bf931ff7ea97e96f8af00daf502b9
parentb95fccbc025cb5788776ed8b80dba20b24529b15
ASoC: Update DAPM debug and error prints

Switch printk and pr_ prints to dev_ variants. It is helpful to see
parent device of DAPM context especially when there are multiple DAPM
contexts (codecs currently).

This is mostly simple conversion. Exceptions are in snd_soc_dapm_set_pin
that prints also pin state, uniform "dapm: unknown pin" error prints from
snd_soc_dapm_set_pin, snd_soc_dapm_force_enable_pin and
snd_soc_dapm_ignore_suspend, and pop_dbg which is converted by an another
patch.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c