drm/radeon: use 64-bit math to calculate CTS values for audio (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Sep 2013 22:09:54 +0000 (18:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:34 +0000 (10:57 -0800)
commit78c3ae2cb101bc10f3b9cc851e826484246088e1
treeef3b2c39e5dfcca4cbf19983d0d509cb0bab3b92
parentb18cd40e6228da53f2781f37f9b94a1930c6ee9c
drm/radeon: use 64-bit math to calculate CTS values for audio (v2)

commit 062c2e4363451d49ef840232fe65e8bff0dde2a5 upstream.

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

v2: fix math as per Anssi's comments.

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