xf86-video-intel: src/intel_module.c
Chris Wilson
ickle at kemper.freedesktop.org
Thu Oct 3 06:43:59 PDT 2013
src/intel_module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4685e79d1163325b78722c84ce173c91c217ac02
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Oct 3 14:42:45 2013 +0100
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 at chris-wilson.co.uk>
diff --git a/src/intel_module.c b/src/intel_module.c
index 6728d16..cb0bb04 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 */
More information about the xorg-commit
mailing list