]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
drm: xilinx: dp: the M audio value should be in Khz
authorHyun Kwon <hyun.kwon@xilinx.com>
Sat, 6 May 2017 00:29:55 +0000 (17:29 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 29 May 2017 10:25:38 +0000 (12:25 +0200)
commit68d5d95a5a3fe3f9d5e1a4f188001a03ff765664
tree7ac136f6c5205a6e5033421a8605be627ceffa99
parent0b203409761ccd6956f287882366b086d454eb0b
drm: xilinx: dp: the M audio value should be in Khz

In sync mode, the M audio value should be the audio clock rate
in Khz. Fix the calculation for that. While at it, remove
the test for debug print, and make it print the audio rate
in debug mode.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xilinx/xilinx_drm_dp.c