]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/sun4i: Fix uninitialized variables in vi layer
authorJernej Skrabec <jernej.skrabec@siol.net>
Wed, 6 Dec 2017 15:26:03 +0000 (16:26 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 7 Dec 2017 08:51:41 +0000 (09:51 +0100)
commitbc29489f712079378081e43d5b1b7470ed70184d
tree60c1890d65351e1eff11b9479309e9eaab7ea416
parent89f3f35620c7f244880485de11079cb4d98ed604
drm/sun4i: Fix uninitialized variables in vi layer

min_scale and max_scale in sun8i_vi_layer_atomic_check() can be used
without initialization.

Fix that.

Fixes: b862a648de3b ("drm/sun4i: Add support for HW scaling to DE2")
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171206152603.25937-1-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun8i_vi_layer.c