drm/nouveau/volt/pwm/gk104: fix an off-by-one resulting in the voltage not being set
authorMartin Peres <martin.peres@free.fr>
Thu, 5 Nov 2015 08:07:38 +0000 (09:07 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 25 Nov 2015 05:37:45 +0000 (15:37 +1000)
commitef0e9f551899d10834da3d262f20f84db61d64b3
treeee1e65b5db88c1c29e67749e71fcd6b3d46a709c
parentf5e551873e5eaf506b2aa870f56a7ba10a51221b
drm/nouveau/volt/pwm/gk104: fix an off-by-one resulting in the voltage not being set

Reported-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Martin Peres <martin.peres@free.fr>
drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c