Skip to content

Commit

Permalink
drm/nouveau/clk: fix crystal frequency retrieval on nv25
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Novotný <noviktor@seznam.cz>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Viktor Novotný authored and Ben Skeggs committed Nov 28, 2012
1 parent fced4b2 commit 1f2285d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/core/subdev/device/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1f2285d

Please sign in to comment.