Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345324
b: refs/heads/master
c: 6311803
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Dave Airlie committed Nov 20, 2012
1 parent bf6f792 commit e1cf586
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c61eef726a78ae77b6ce223d01ea2130f465fe5c
refs/heads/master: 6311803b1294432ee680fec5e628efae0d485fa2
7 changes: 2 additions & 5 deletions trunk/drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,12 +307,9 @@ drm_do_probe_ddc_edid(struct i2c_adapter *adapter, unsigned char *buf,

static bool drm_edid_is_zero(u8 *in_edid, int length)
{
int i;
u32 *raw_edid = (u32 *)in_edid;
if (memchr_inv(in_edid, 0, length))
return false;

for (i = 0; i < length / 4; i++)
if (*(raw_edid + i) != 0)
return false;
return true;
}

Expand Down

0 comments on commit e1cf586

Please sign in to comment.