projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3c7a4
)
drm/i915: handle failure path correctly for lvds
author
Shaohua Li
<shaohua.li@intel.com>
Tue, 17 Nov 2009 09:19:23 +0000
(17:19 +0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 25 Nov 2009 21:45:55 +0000
(13:45 -0800)
In failure path, make sure encoder is cleaned up, otherwise there
is a kernel oops.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_lvds.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_lvds.c
b/drivers/gpu/drm/i915/intel_lvds.c
index 95011dfe1758b0ba92946d06881867b93d30b469..ab48edde4c9f1c8cc5bd494c4c7d63d3a3445abf 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_lvds.c
+++ b/
drivers/gpu/drm/i915/intel_lvds.c
@@
-1149,5
+1149,6
@@
failed:
if (intel_output->ddc_bus)
intel_i2c_destroy(intel_output->ddc_bus);
drm_connector_cleanup(connector);
+ drm_encoder_cleanup(encoder);
kfree(intel_output);
}