Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269657
b: refs/heads/master
c: 6b70e48
h: refs/heads/master
i:
  269655: 3babe90
v: v3
  • Loading branch information
Ben Skeggs committed Sep 20, 2011
1 parent ae20e3f commit 1acc576
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 2228c6fe04ddc303e90c05dd9430539fbcd8fa18
refs/heads/master: 6b70e481671cff087a39d40cd823435d0177000c
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,10 @@ nouveau_i2c_find(struct drm_device *dev, int index)
val = 0xe001;
}

nv_wr32(dev, reg, (nv_rd32(dev, reg) & ~0xf003) | val);
/* nfi, but neither auxch or i2c work if it's 1 */
nv_mask(dev, reg + 0x0c, 0x00000001, 0x00000000);
/* nfi, but switches auxch vs normal i2c */
nv_mask(dev, reg + 0x00, 0x0000f003, val);
}

if (!i2c->chan && nouveau_i2c_init(dev, i2c, index))
Expand Down

0 comments on commit 1acc576

Please sign in to comment.