]> 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)
commitef0fb772c39a8e33f16fa842888ea1d4facbdf52
tree999a251de35d0b8bcdeb485136efccfe806e49a9
parentfec3390efc5efd5a98d3bb8bfb5dcfafcfdf2c11
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