Re: [PATCH -next v2] drm/mcde: dsi: Fix return value check in mcde_dsi_bind()

2020-05-12 Thread Linus Walleij
On Thu, Apr 30, 2020 at 9:30 AM Wei Yongjun wrote: > The of_drm_find_bridge() function returns NULL on error, it doesn't return > error pointers so this check doesn't work. > > Fixes: 5fc537bfd000 ("drm/mcde: Add new driver for ST-Ericsson MCDE") > Signed-off-by: Wei Yongjun > --- > v1 - > v2:

[PATCH -next v2] drm/mcde: dsi: Fix return value check in mcde_dsi_bind()

2020-04-30 Thread Wei Yongjun
The of_drm_find_bridge() function returns NULL on error, it doesn't return error pointers so this check doesn't work. Fixes: 5fc537bfd000 ("drm/mcde: Add new driver for ST-Ericsson MCDE") Signed-off-by: Wei Yongjun --- v1 - > v2: add fixes and fix the subject --- drivers/gpu/drm/mcde/mcde_dsi.c