Commit fde22f27 authored by Mark Brown's avatar Mark Brown

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 67c91513
...@@ -693,7 +693,7 @@ static void soc_resume_deferred(struct work_struct *work) ...@@ -693,7 +693,7 @@ static void soc_resume_deferred(struct work_struct *work)
* so userspace apps are blocked from touching us * so userspace apps are blocked from touching us
*/ */
dev_info(socdev->dev, "starting resume work\n"); dev_dbg(socdev->dev, "starting resume work\n");
if (card->resume_pre) if (card->resume_pre)
card->resume_pre(pdev); card->resume_pre(pdev);
...@@ -736,7 +736,7 @@ static void soc_resume_deferred(struct work_struct *work) ...@@ -736,7 +736,7 @@ static void soc_resume_deferred(struct work_struct *work)
if (card->resume_post) if (card->resume_post)
card->resume_post(pdev); card->resume_post(pdev);
dev_info(socdev->dev, "resume work completed\n"); dev_dbg(socdev->dev, "resume work completed\n");
/* userspace can access us now we are back as we were before */ /* userspace can access us now we are back as we were before */
snd_power_change_state(codec->card, SNDRV_CTL_POWER_D0); snd_power_change_state(codec->card, SNDRV_CTL_POWER_D0);
...@@ -747,10 +747,10 @@ static int soc_resume(struct platform_device *pdev) ...@@ -747,10 +747,10 @@ static int soc_resume(struct platform_device *pdev)
{ {
struct snd_soc_device *socdev = platform_get_drvdata(pdev); struct snd_soc_device *socdev = platform_get_drvdata(pdev);
dev_info(socdev->dev, "scheduling resume work\n"); dev_dbg(socdev->dev, "scheduling resume work\n");
if (!schedule_work(&socdev->deferred_resume_work)) if (!schedule_work(&socdev->deferred_resume_work))
dev_err(socdev->dev, "work item may be lost\n"); dev_err(socdev->dev, "resume work item may be lost\n");
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment