projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ca2b71
)
drm/nv50: fix minor thinko from nvc0 changes
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 10 Aug 2010 00:50:13 +0000
(10:50 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 17 Aug 2010 01:58:53 +0000
(11:58 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_i2c.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_i2c.c
b/drivers/gpu/drm/nouveau/nouveau_i2c.c
index 0bd407ca3d429117ac3cdf0e42f1ccf5b5e853d7..84614858728ba0f7ab959b54989cf9a512d89d6a 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_i2c.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_i2c.c
@@
-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_C
0 && entry->read >= NV50_I2C_PORTS) {
+ if (dev_priv->card_type
>= NV_5
0 && entry->read >= NV50_I2C_PORTS) {
NV_ERROR(dev, "unknown i2c port %d\n", entry->read);
return -EINVAL;
}