drm: count reaches -1
commitd9c6f546469f33f9aa48ae5991c33da8cd535b37
authorRoel Kluin <roel.kluin@gmail.com>
Thu, 16 Apr 2009 20:57:46 +0000 (16 22:57 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 19 Apr 2009 23:28:20 +0000 (20 09:28 +1000)
tree3566163c07452cec433ac00a58adf059c6d06219
parent029a2edbd36f5e34ff1aebfba1bca31b5ac9899e
drm: count reaches -1

With a postfix decrement in the test count will reach -1 rather than 0,
subsequent tests fail.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/via/via_dma.c