aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-10-26 11:54:16 -0400
committerTakashi Iwai <tiwai@suse.de>2015-10-26 11:54:16 -0400
commitd9684bb5b3ef83e22a7270341e722f1acc1d97e5 (patch)
tree76d850c80d7a6893453d7a6d67435dd87c0c8ff6
parentd82ad8e0c0ecc49e81bf7d57fdc09b7d76c1afc0 (diff)
ALSA: hda/ca0132 - Convert leftover pr_info() and pr_err()
Use codec_*() macro instead of pr_*() for improving the log information. The current form even slips from alsa-info.sh. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_ca0132.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
index 3a02e5c14d09..f8a12ca477f1 100644
--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -2673,13 +2673,13 @@ static bool dspload_wait_loaded(struct hda_codec *codec)
2673 2673
2674 do { 2674 do {
2675 if (dspload_is_loaded(codec)) { 2675 if (dspload_is_loaded(codec)) {
2676 pr_info("ca0132 DOWNLOAD OK :-) DSP IS RUNNING.\n"); 2676 codec_info(codec, "ca0132 DSP downloaded and running\n");
2677 return true; 2677 return true;
2678 } 2678 }
2679 msleep(20); 2679 msleep(20);
2680 } while (time_before(jiffies, timeout)); 2680 } while (time_before(jiffies, timeout));
2681 2681
2682 pr_err("ca0132 DOWNLOAD FAILED!!! DSP IS NOT RUNNING.\n"); 2682 codec_err(codec, "ca0132 failed to download DSP\n");
2683 return false; 2683 return false;
2684} 2684}
2685 2685
@@ -4375,7 +4375,7 @@ static bool ca0132_download_dsp_images(struct hda_codec *codec)
4375 4375
4376 dsp_os_image = (struct dsp_image_seg *)(fw_entry->data); 4376 dsp_os_image = (struct dsp_image_seg *)(fw_entry->data);
4377 if (dspload_image(codec, dsp_os_image, 0, 0, true, 0)) { 4377 if (dspload_image(codec, dsp_os_image, 0, 0, true, 0)) {
4378 pr_err("ca0132 dspload_image failed.\n"); 4378 codec_err(codec, "ca0132 DSP load image failed\n");
4379 goto exit_download; 4379 goto exit_download;
4380 } 4380 }
4381 4381