edid: initialize has_valid_detailed_blocks as 1

In last clean-up commit, the detailed_blocks parsing has been merged to one
for-loop and combining return values in each iteration instead of assignment.
As a result, has_valid_detailed_blocks should now be initialized as 1.

BRANCH=none
BUG=none
TEST=Tested AUO 1080p and InnoLux 720p panels on nyan_big

Original-Change-Id: Ie4b6e25de63c0e216ae5de9bde20eed1fe3e59a6
Original-Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/195803
Original-Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Original-Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Original-Tested-by: Hung-Te Lin <hungte@chromium.org>
(cherry picked from commit 21ac533d17c892c39532c263cc6ec15e4507ed3e)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I23111efb902c7e5994a4dbdfe77242c13ef5a70e
Reviewed-on: http://review.coreboot.org/7835
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Vince Hsu 2014-04-21 17:07:57 +08:00 committed by Marc Jones
parent 1c8ee21fd3
commit 4213b970ce
1 changed files with 1 additions and 0 deletions

View File

@ -968,6 +968,7 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
.has_valid_cvt = 1,
.has_valid_dummy_block = 1,
.has_valid_descriptor_ordering = 1,
.has_valid_detailed_blocks = 1,
.has_valid_descriptor_pad = 1,
.has_valid_range_descriptor = 1,
.has_valid_max_dotclock = 1,