diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-03 14:42:45 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-03 14:42:45 +0100 |
commit | 4685e79d1163325b78722c84ce173c91c217ac02 (patch) | |
tree | de6d55915d2fdd17d9406589971b66fa041a0de0 | |
parent | 58b26055f428fd6a99ffb889caa5e2472352b641 (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>
-rw-r--r-- | src/intel_module.c | 2 |
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 */ |