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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:35 +0000 (10:57 -0800)
commiteebf839b51416e440d40660d00a8ea465bfa74c6
tree9eca378003d2976801e234f278d7c958af8b98a6
parent78c3ae2cb101bc10f3b9cc851e826484246088e1
drm/radeon: fix N/CTS clock matching for audio

commit e7d12c2f98ae1e68c7298e5028048d150fa553a1 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/r600_hdmi.c