]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/nouveau/clk: fix crystal frequency retrieval on nv25
authorViktor Novotný <noviktor@seznam.cz>
Sat, 10 Nov 2012 18:24:06 +0000 (19:24 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 28 Nov 2012 23:56:35 +0000 (09:56 +1000)
Signed-off-by: Viktor Novotný <noviktor@seznam.cz>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/device/base.c

index ca9a4648bd8a5c90df7e36ba29a318f290d3ba53..9baef4656a54acef22704b270071689b365a5cd1 100644 (file)
@@ -208,7 +208,7 @@ nouveau_devobj_ctor(struct nouveau_object *parent,
 
                /* determine frequency of timing crystal */
                if ( device->chipset < 0x17 ||
-                   (device->chipset >= 0x20 && device->chipset <= 0x25))
+                   (device->chipset >= 0x20 && device->chipset < 0x25))
                        strap &= 0x00000040;
                else
                        strap &= 0x00400040;