diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-02-21 16:18:57 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-21 16:23:14 -0500 |
commit | 0b6b524f3915f88eb4562e8d927528224a8eab41 (patch) | |
tree | a1802ed785fafbddf1dcf61b1260f80b1a256156 /sound/x86 | |
parent | 3002b9fb7cbc26e8d29927c9e20e235f38319b24 (diff) |
ALSA: x86: Don't enable runtime PM as default
Unlike HSW and newer, BYT/CHT devices have no fine control of audio
power domain in i915 side. Since there is little gain by runtime PM
on BYT/CHT, so far, this commit removes the pm_runtime_enable() call
as default.
User who still wants the runtime PM may adjust the corresponding
sysfs files (power/control and power/autosuspend_delay_ms)
appropriately, of course.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86')
-rw-r--r-- | sound/x86/intel_hdmi_audio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/x86/intel_hdmi_audio.c b/sound/x86/intel_hdmi_audio.c index d1504303adfb..c505b019e09c 100644 --- a/sound/x86/intel_hdmi_audio.c +++ b/sound/x86/intel_hdmi_audio.c | |||
@@ -1809,11 +1809,13 @@ static int hdmi_lpe_audio_probe(struct platform_device *pdev) | |||
1809 | pdata->notify_pending = false; | 1809 | pdata->notify_pending = false; |
1810 | spin_unlock_irq(&pdata->lpe_audio_slock); | 1810 | spin_unlock_irq(&pdata->lpe_audio_slock); |
1811 | 1811 | ||
1812 | /* runtime PM isn't enabled as default, since it won't save much on | ||
1813 | * BYT/CHT devices; user who want the runtime PM should adjust the | ||
1814 | * power/ontrol and power/autosuspend_delay_ms sysfs entries instead | ||
1815 | */ | ||
1812 | pm_runtime_use_autosuspend(&pdev->dev); | 1816 | pm_runtime_use_autosuspend(&pdev->dev); |
1813 | pm_runtime_mark_last_busy(&pdev->dev); | 1817 | pm_runtime_mark_last_busy(&pdev->dev); |
1814 | |||
1815 | pm_runtime_set_active(&pdev->dev); | 1818 | pm_runtime_set_active(&pdev->dev); |
1816 | pm_runtime_enable(&pdev->dev); | ||
1817 | 1819 | ||
1818 | dev_dbg(&pdev->dev, "%s: handle pending notification\n", __func__); | 1820 | dev_dbg(&pdev->dev, "%s: handle pending notification\n", __func__); |
1819 | schedule_work(&ctx->hdmi_audio_wq); | 1821 | schedule_work(&ctx->hdmi_audio_wq); |