diff options
author | Dave Airlie <airlied@linux.ie> | 2008-01-23 16:45:09 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-01-23 16:45:09 +1000 |
commit | c57f43e3a266d247c8a2be6fd7702caab2dc009b (patch) | |
tree | 5349d5936725b14e2cf4ff6836e5e94b74d88ab7 /linux-core | |
parent | 2f19fe44983647328a97cb4ce513d773459ca853 (diff) |
i915/flush: get the ret the right way around
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/i915_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/i915_compat.c b/linux-core/i915_compat.c index cc024085..f3e0a081 100644 --- a/linux-core/i915_compat.c +++ b/linux-core/i915_compat.c @@ -104,7 +104,7 @@ static void intel_i965_g33_setup_chipset_flush(struct pci_dev *pdev) i9xx_private.ifp_resource.start = l64; i9xx_private.ifp_resource.end = l64 + PAGE_SIZE; ret = request_resource(&iomem_resource, &i9xx_private.ifp_resource); - if (!ret) { + if (ret) { i9xx_private.resource_valid = 0; printk("Failed inserting resource into tree\n"); } |