aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 13:08:18 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 13:09:05 -0500
commitfde22f272dad4fef7ba611e3f75fa94f7b43fae6 (patch)
treedf65e965f57135f520dd2393077d28ee735c912c /sound/soc/soc-core.c
parent67c91513b81a101800f113013234d2ab06bc5e52 (diff)
ASoC: Lower priority of resume work logging
Now that the ASoC resume has been punted to a workqueue for a release cycle without attracting bug reports it should be safe to make the log messages associated with it debug level, reducing noise and kernel size in production configurations. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 0d47696ccd07..dbd92e12e860 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -693,7 +693,7 @@ static void soc_resume_deferred(struct work_struct *work)
693 * so userspace apps are blocked from touching us 693 * so userspace apps are blocked from touching us
694 */ 694 */
695 695
696 dev_info(socdev->dev, "starting resume work\n"); 696 dev_dbg(socdev->dev, "starting resume work\n");
697 697
698 if (card->resume_pre) 698 if (card->resume_pre)
699 card->resume_pre(pdev); 699 card->resume_pre(pdev);
@@ -736,7 +736,7 @@ static void soc_resume_deferred(struct work_struct *work)
736 if (card->resume_post) 736 if (card->resume_post)
737 card->resume_post(pdev); 737 card->resume_post(pdev);
738 738
739 dev_info(socdev->dev, "resume work completed\n"); 739 dev_dbg(socdev->dev, "resume work completed\n");
740 740
741 /* userspace can access us now we are back as we were before */ 741 /* userspace can access us now we are back as we were before */
742 snd_power_change_state(codec->card, SNDRV_CTL_POWER_D0); 742 snd_power_change_state(codec->card, SNDRV_CTL_POWER_D0);
@@ -747,10 +747,10 @@ static int soc_resume(struct platform_device *pdev)
747{ 747{
748 struct snd_soc_device *socdev = platform_get_drvdata(pdev); 748 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
749 749
750 dev_info(socdev->dev, "scheduling resume work\n"); 750 dev_dbg(socdev->dev, "scheduling resume work\n");
751 751
752 if (!schedule_work(&socdev->deferred_resume_work)) 752 if (!schedule_work(&socdev->deferred_resume_work))
753 dev_err(socdev->dev, "work item may be lost\n"); 753 dev_err(socdev->dev, "resume work item may be lost\n");
754 754
755 return 0; 755 return 0;
756} 756}