]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/sun4i: Propagate error to the caller
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 4 Nov 2016 06:13:52 +0000 (07:13 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 7 Nov 2016 15:09:35 +0000 (16:09 +0100)
commit4db069a2bf990e278ea57ff615dcaa89b85376bd
tree822ccf0457b2c2611d21e1fb120bbca4fd95f8b0
parent6c08d7ab23dd07c046e8de1520073053bdc76ae2
drm/sun4i: Propagate error to the caller

If 'sun4i_layers_init()' returns an error, propagate it instead of
returning -EINVAL unconditionally.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_drv.c