projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74cfd7a
)
drm/i915: fix DP get_hw_state return value
author
Jesse Barnes
<
[email protected]
>
Tue, 2 Apr 2013 17:03:56 +0000
(10:03 -0700)
committer
Daniel Vetter
<
[email protected]
>
Tue, 2 Apr 2013 18:25:39 +0000
(20:25 +0200)
If we couldn't find a pipe we shouldn't return true. This might be even
better as a WARN though, since it should be impossible to have the port
enabled without a pipe selected.
Signed-off-by: Jesse Barnes <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_dp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dp.c
b/drivers/gpu/drm/i915/intel_dp.c
index 92a7c62c8aec9bfc97063443948441e4e0a0ac46..879aff26ca126743922c053ae72fc22e3cf939cf 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_dp.c
+++ b/
drivers/gpu/drm/i915/intel_dp.c
@@
-1361,7
+1361,7
@@
static bool intel_dp_get_hw_state(struct intel_encoder *encoder,
intel_dp->output_reg);
}
- return
tru
e;
+ return
fals
e;
}
static void intel_disable_dp(struct intel_encoder *encoder)