Made providing a place for vdif and vdifLength optional in ddc2_read_edid1().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22270 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-09-21 16:59:43 +00:00
parent 015a014aa7
commit fd7e4cc333

View File

@ -147,13 +147,15 @@ ddc2_read_edid1(const i2c_bus *bus, edid1_info *edid,
edid_decode(edid, &raw);
*vdif = NULL;
*vdifLength = 0;
if (vdif != NULL)
*vdif = NULL;
if (vdifLength != NULL)
*vdifLength = 0;
// skip vdif as long as it's not tested
#if 0
status = ddc2_read_vdif(bus, sizeof(raw) * (edid->num_sections + 1),
vdif, vdif_len);
vdif, vdifLength);
if (status != B_OK)
return status;
#endif