[PATCH] drm/sun4i: Propagate error to the caller

2016-11-07 Thread Maxime Ripard
On Mon, Nov 07, 2016 at 10:19:57AM +0900, Gustavo Padovan wrote: > Hi Christophe, > > 2016-11-04 Christophe JAILLET : > > > If 'sun4i_layers_init()' returns an error, propagate it instead of > > returning -EINVAL unconditionally. > > > > Signed-off-by: Christophe JAILLET > > --- > > drivers/gp

[PATCH] drm/sun4i: Propagate error to the caller

2016-11-07 Thread Gustavo Padovan
Hi Christophe, 2016-11-04 Christophe JAILLET : > If 'sun4i_layers_init()' returns an error, propagate it instead of > returning -EINVAL unconditionally. > > Signed-off-by: Christophe JAILLET > --- > drivers/gpu/drm/sun4i/sun4i_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Revi

[PATCH] drm/sun4i: Propagate error to the caller

2016-11-04 Thread Maxime Ripard
On Fri, Nov 04, 2016 at 07:13:52AM +0100, Christophe JAILLET wrote: > If 'sun4i_layers_init()' returns an error, propagate it instead of > returning -EINVAL unconditionally. > > Signed-off-by: Christophe JAILLET Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel

[PATCH] drm/sun4i: Propagate error to the caller

2016-11-04 Thread Christophe JAILLET
If 'sun4i_layers_init()' returns an error, propagate it instead of returning -EINVAL unconditionally. Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/sun4i/sun4i_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/s