Haswell doesnot support runtime pm by default. This patch let haswell Display HD-A controller enter runtime suspend, and bring more power saving whith power-well.
Signed-off-by: Wang Xingchao xingchao.wang@linux.intel.com --- sound/pci/hda/hda_intel.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index bf27693..eb25888 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -3755,6 +3755,12 @@ static int azx_probe(struct pci_dev *pci,
if (pci_dev_run_wake(pci)) pm_runtime_put_noidle(&pci->dev); + else if (chip->driver_caps + & AZX_DCAPS_I915_POWERWELL) { + /* Haswell doesnot support runtime pm by default */ + pm_runtime_put_noidle(&pci->dev); + pm_runtime_allow(&pci->dev); + }
dev++; complete_all(&chip->probe_wait);