drm/nouveau/temp: Fix signed/unsigned int logic
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Jun 2011 01:13:23 +0000 (02:13 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jun 2011 06:04:39 +0000 (16:04 +1000)
Many (all?) of the coefficients related to calculating the
correct temperature are signed integers

This patch correcly parses and stores those values
It also ensures that the default offset is 0 (previously 1)

Affected cards - the original nv50 and the nv40 family

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found