Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209816
b: refs/heads/master
c: 56dfc58
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Aug 17, 2010
1 parent 395a4ba commit 97bd6bf
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 4ca2b7120cf8ee266e6c44429ccb541d63480c4a
refs/heads/master: 56dfc58ea094e7a8607786f4762c65b09cd85738
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ nouveau_i2c_init(struct drm_device *dev, struct dcb_i2c_entry *entry, int index)
if (entry->chan)
return -EEXIST;

if (dev_priv->card_type == NV_C0 && entry->read >= NV50_I2C_PORTS) {
if (dev_priv->card_type >= NV_50 && entry->read >= NV50_I2C_PORTS) {
NV_ERROR(dev, "unknown i2c port %d\n", entry->read);
return -EINVAL;
}
Expand Down

0 comments on commit 97bd6bf

Please sign in to comment.