drm/nouveau: make dp auxch xfer len check for reads only
authorBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 00:08:34 +0000 (10:08 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 9 Feb 2010 02:50:43 +0000 (12:50 +1000)
commit1ee7698fc3ec3d7949fa55e5154c8f5de8f1c3d9
treea75f98cc8ec56ae9ed0f238622a699f65059cf3e
parente235c1f3e132a243a1f81b3d95c99ee199b4d3f3
drm/nouveau: make dp auxch xfer len check for reads only

Writes don't return a count, and adding the check broke native DP.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_dp.c