rockchip: video: Fix HDMI audio clocks
authorJernej Skrabec <jernej.skrabec@siol.net>
Wed, 8 Mar 2017 23:34:37 +0000 (00:34 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:47 +0000 (16:03 -0600)
commita0a2774aebdaa039ce787090c903cf47263f04c9
tree34be689cb8c551dd25c637f30becc41bad7b29c7
parentc00d16517761799330719ae68292345abb5a4d07
rockchip: video: Fix HDMI audio clocks

Function hdmi_lookup_n_cts() is feed with clock in Hz, which gets
compared with clocks in kHz. Fix that by converting all clocks to Hz.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/rockchip/rk_hdmi.c