summaryrefslogtreecommitdiff
path: root/tools/intel_audio_dump.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2011-11-12 11:12:44 +0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-01-03 13:58:22 +0100
commit63e3c37838aefb7e8a715eda29e1ca635fa21c63 (patch)
treec9e910959428f7ad7b400154c74ef69257cbb6d0 /tools/intel_audio_dump.c
parent305443cf0ae5cc7566aceb6dc37aa3f51f51c9fb (diff)
intel_audio_dump: fix Ironlake detection
The original test mistakenly calls dump_cpt() for Ironlake, due to HAS_PCH_SPLIT := IS_GEN5 || IS_GEN6 || IS_GEN7. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/intel_audio_dump.c')
-rw-r--r--tools/intel_audio_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c
index 0a05b377..080ec913 100644
--- a/tools/intel_audio_dump.c
+++ b/tools/intel_audio_dump.c
@@ -1194,7 +1194,7 @@ int main(int argc, char **argv)
else
intel_get_mmio(pci_dev);
- if (HAS_PCH_SPLIT(devid) || getenv("HAS_PCH_SPLIT")) {
+ if (IS_GEN6(devid) || IS_GEN7(devid) || getenv("HAS_PCH_SPLIT")) {
intel_check_pch();
dump_cpt();
} else if (IS_GEN5(devid))