projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
[platform/kernel/linux-rpi.git]
/
drivers
/
gpu
/
drm
/
sti
/
sti_dvo.c
diff --git
a/drivers/gpu/drm/sti/sti_dvo.c
b/drivers/gpu/drm/sti/sti_dvo.c
index
076d5f3
..
577c477
100644
(file)
--- a/
drivers/gpu/drm/sti/sti_dvo.c
+++ b/
drivers/gpu/drm/sti/sti_dvo.c
@@
-288,7
+288,7
@@
static void sti_dvo_set_mode(struct drm_bridge *bridge,
DRM_DEBUG_DRIVER("\n");
-
memcpy(&dvo->mode, mode, sizeof(struct drm_display_mode)
);
+
drm_mode_copy(&dvo->mode, mode
);
/* According to the path used (main or aux), the dvo clocks should
* have a different parent clock. */