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 Change-Id: Ie4b6e25de63c0e216ae5de9bde20eed1fe3e59a6 Signed-off-by: Vince Hsu <vinceh@nvidia.com> Reviewed-on: https://chromium-review.googlesource.com/195803 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Commit-Queue: Hung-Te Lin <hungte@chromium.org> Tested-by: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
parent
d3394d34fb
commit
21ac533d17
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue