]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/edid: don't return stack garbage from supports_rb
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Jun 2012 09:33:06 +0000 (11:33 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 4 Jul 2012 04:44:15 +0000 (05:44 +0100)
commit707799fd0d6ccc157f40d9a6685e97a65bea7b71
tree44145efe65bcb9230750d2f6b061c643590405a1
parent64ae8cf31b7f37c289a08ca679770739a13d18a9
drm/edid: don't return stack garbage from supports_rb

commit b196a4980ff7bb54db478e2a408dc8b12be15304 upstream.

We need to initialize this to false, because the is_rb callback only
ever sets it to true.

Noticed while reading through the code.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/drm_edid.c