[PATCH 08/20] drm/sun4i: rgb: panel is an error pointer

2016-05-25 Thread Maxime Ripard
On Tue, May 17, 2016 at 11:51:36AM +0800, Chen-Yu Tsai wrote: > Hi, > > On Mon, May 16, 2016 at 8:47 PM, Maxime Ripard > wrote: > > In case of an error, our pointer to the drm_panel structure attached to our > > encoder will hold an error pointer, not a NULL pointer. > > > > Make sure we check

[PATCH 08/20] drm/sun4i: rgb: panel is an error pointer

2016-05-17 Thread Chen-Yu Tsai
Hi, On Mon, May 16, 2016 at 8:47 PM, Maxime Ripard wrote: > In case of an error, our pointer to the drm_panel structure attached to our > encoder will hold an error pointer, not a NULL pointer. > > Make sure we check the right thing. > > Fixes: 29e57fab97fc ("drm: sun4i: Add RGB output") >

[PATCH 08/20] drm/sun4i: rgb: panel is an error pointer

2016-05-16 Thread Maxime Ripard
In case of an error, our pointer to the drm_panel structure attached to our encoder will hold an error pointer, not a NULL pointer. Make sure we check the right thing. Fixes: 29e57fab97fc ("drm: sun4i: Add RGB output") Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_rgb.c | 2 +-