OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce6912b
)
drm/rockchip: fix for mailbox read validation.
author
Damian Kos
<dkos@cadence.com>
Mon, 19 Nov 2018 15:14:14 +0000
(15:14 +0000)
committer
Heiko Stuebner
<heiko@sntech.de>
Mon, 28 Jan 2019 10:10:44 +0000
(11:10 +0100)
This is basically the same fix as in
commit
fa68d4f8476b
("drm/rockchip: fix for mailbox read size")
but for cdn_dp_mailbox_validate_receive function.
See patchwork.kernel.org/patch/
10671981
/ for details.
Signed-off-by: Damian Kos <dkos@cadence.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link:
https://patchwork.freedesktop.org/patch/msgid/1542640463-18332-1-git-send-email-dkos@cadence.com
drivers/gpu/drm/rockchip/cdn-dp-reg.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/cdn-dp-reg.c
b/drivers/gpu/drm/rockchip/cdn-dp-reg.c
index
5a48548
..
6c8b14f
100644
(file)
--- a/
drivers/gpu/drm/rockchip/cdn-dp-reg.c
+++ b/
drivers/gpu/drm/rockchip/cdn-dp-reg.c
@@
-113,7
+113,7
@@
static int cdp_dp_mailbox_write(struct cdn_dp_device *dp, u8 val)
static int cdn_dp_mailbox_validate_receive(struct cdn_dp_device *dp,
u8 module_id, u8 opcode,
- u
8
req_size)
+ u
16
req_size)
{
u32 mbox_size, i;
u8 header[4];