commit | 6c08d7ab23dd07c046e8de1520073053bdc76ae2 | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Sun Oct 30 09:49:26 2016 +0100 |
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | Wed Nov 02 18:56:46 2016 +0100 |
tree | e4c6b7b400168715006da9332073b98ebb4bc10f | |
parent | 0df03b43035afd0a64916fe4e5bca978562ffa5a [diff] |
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>