media: cobalt: fix initial EDID
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 23 Mar 2021 16:12:42 +0000 (17:12 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 6 Apr 2021 08:35:00 +0000 (10:35 +0200)
commit6f4eaea21b1acc78367389d8f0bdb30e158a37d9
treed5e49e647599672bf13f60ab3919e992086ee3ae
parent154bee9b6e3927b0362a8754f27d6bb54d743343
media: cobalt: fix initial EDID

The EDID failed with two edid-decode warnings:

Block 1, CTA-861 Extension Block:
  Video Data Block: VIC 16 is the preferred timing, overriding the first detailed timings. Is this intended?
  Video Capability Data Block: S_PT is equal to S_IT and S_CE, so should be set to 0 instead.

In addition, the first DTD had a wrong vsync value (6 instead of 5).

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/cobalt/cobalt-driver.c