OpenCloudOS-Kernel/drivers/gpu/drm/imx
Dan Carpenter dae2f7b89a
drm/imx/lcdc: fix a NULL vs IS_ERR() bug in probe
The devm_drm_dev_alloc() function returns error pointers.  It never
returns NULL.  Fix the check.

Fixes: c87e859cde ("drm/imx/lcdc: Implement DRM driver for imx25")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/d0a1fc55-3ef6-444e-b3ef-fdc937d8d57a@kili.mountain
2023-04-15 23:48:48 +02:00
..
dcss drm/imx/dcss: Use GEM DMA fbdev emulation 2023-03-14 17:07:48 +01:00
ipuv3 drm/imx: Use GEM DMA fbdev emulation 2023-03-14 17:07:48 +01:00
lcdc drm/imx/lcdc: fix a NULL vs IS_ERR() bug in probe 2023-04-15 23:48:48 +02:00
Kconfig drm/imx/lcdc: Implement DRM driver for imx25 2023-03-14 11:43:53 +01:00
Makefile drm/imx/lcdc: Implement DRM driver for imx25 2023-03-14 11:43:53 +01:00