summaryrefslogtreecommitdiff
path: root/src/intel_module.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-10-03 14:42:45 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-10-03 14:42:45 +0100
commit4685e79d1163325b78722c84ce173c91c217ac02 (patch)
treede6d55915d2fdd17d9406589971b66fa041a0de0 /src/intel_module.c
parent58b26055f428fd6a99ffb889caa5e2472352b641 (diff)
intel: And restore PlatformProbe to working order
In the saga of the untested WIP patches for hosted device probing, was the failure in logic to detect a valid device during probing. Yikes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r--src/intel_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_module.c b/src/intel_module.c
index 6728d160..cb0bb048 100644
--- a/src/intel_module.c
+++ b/src/intel_module.c
@@ -525,7 +525,7 @@ intel_platform_probe(DriverPtr driver,
if (!dev->pdev)
return FALSE;
- if (intel_open_device(entity_num, dev->pdev, dev))
+ if (intel_open_device(entity_num, dev->pdev, dev) == -1)
return FALSE;
/* Allow ourselves to act as a slaved output if not primary */