drm/radeon: fix N/CTS clock matching for audio
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Sep 2013 22:19:42 +0000 (18:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Oct 2013 21:13:44 +0000 (17:13 -0400)
commite7d12c2f98ae1e68c7298e5028048d150fa553a1
tree9dfdfd0346ca765423f2872e3dcec7f969b48fae
parent062c2e4363451d49ef840232fe65e8bff0dde2a5
drm/radeon: fix N/CTS clock matching for audio

The drm code that calculates the 1001 clocks rounds up
rather than truncating.  This allows the table to match
properly on those modes.

See bug:
https://bugs.freedesktop.org/show_bug.cgi?id=69675

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r600_hdmi.c