]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: fix integer type used for storing dp data rate
authorTobias Schramm <t.schramm@manjaro.org>
Thu, 9 Jan 2020 07:31:29 +0000 (08:31 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 13 Jan 2020 13:31:59 +0000 (14:31 +0100)
commitdb6692b8f4487839ff192a1e2396db8f27a7a850
tree097e896029ca5bb0a88cd22c71daeefb39149b66
parentca9d056483d2f353c589b7a4cdb018bfb74c8a46
drm/rockchip: fix integer type used for storing dp data rate

commit 078e2d38aded ("drm/rockchip: Avoid drm_dp_link helpers") changes
the type of variables used to store the display port data rate and
number of lanes to u8. However u8 is not sufficient to store the link
data rate of the display port.
This commit reverts the type of data rate to unsigned int.

Fixes: 078e2d38aded ("drm/rockchip: Avoid drm_dp_link helpers")
Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200109073129.378507-2-t.schramm@manjaro.org
drivers/gpu/drm/rockchip/cdn-dp-core.h