]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix DDI get_hw_state return value
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 2 Apr 2013 17:03:55 +0000 (10:03 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 2 Apr 2013 18:25:39 +0000 (20:25 +0200)
commitbe6e8648542ca46d903159779793f8ed468d261f
tree68da3839169867caeb7680a641fb90aa52ba1902
parent7d3eed21c3263cb1da10d7f066096a472a78bed7
drm/i915: fix DDI get_hw_state return value

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 <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c