]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: cdn-dp: correct rate in the struct drm_dp_link assignment
authorSandor Yu <Sandor.yu@nxp.com>
Wed, 5 Jun 2019 08:04:24 +0000 (16:04 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 14 Jun 2019 11:53:07 +0000 (13:53 +0200)
commitb8b26ee796809a292ec7c96b1f48c0a99dca8ae9
tree999a251de35d0b8bcdeb485136efccfe806e49a9
parent46b402ba81956a60fcfa48beec0a142c9fff0814
drm/rockchip: cdn-dp: correct rate in the struct drm_dp_link assignment

The value stored in the rate field of struct drm_dp_link should
be the actual link-rate and not the bw_code.

Right now the driver stores the code and converts it to the rate.
So fixup the driver to store the rate itself.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20190605080424.28731-1-sandor.yu@nxp.com
drivers/gpu/drm/rockchip/cdn-dp-reg.c