drm: bridge/dw_hdmi: clean up hdmi_set_clk_regenerator()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 27 Mar 2015 12:53:29 +0000 (12:53 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Aug 2015 10:27:14 +0000 (11:27 +0100)
commitf879b38f9155e85dc30a2e1e7d18b06251a7f9f8
treed22e5be80bb8f98039e1c2d74dad9bdc25915269
parent39cc1535fe1e401c523065f7b219ac1cd76e4a7d
drm: bridge/dw_hdmi: clean up hdmi_set_clk_regenerator()

Clean up hdmi_set_clk_regenerator() by allowing it to take the audio
sample rate and ratio directly, rather than hiding it inside the
function.  Raise the unsupported pixel clock/sample rate message from
debug to error level as this results in audio not working correctly.

Tested-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/bridge/dw_hdmi.c