]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/sun4i: Fix error handling
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 30 Oct 2016 08:49:26 +0000 (09:49 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 2 Nov 2016 17:56:46 +0000 (18:56 +0100)
commit6c08d7ab23dd07c046e8de1520073053bdc76ae2
treee4c6b7b400168715006da9332073b98ebb4bc10f
parent0df03b43035afd0a64916fe4e5bca978562ffa5a
drm/sun4i: Fix error handling

'sun4i_layers_init()' returns an error pointer in case of error, not
NULL. So test it with IS_ERR.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_drv.c