linux-stable/drivers/gpu/drm/tiny
Dan Carpenter 9bdd9424bf drm/simpledrm: Fix an NULL vs IS_ERR() bug
The devm_memremap() function doesn't return NULL, it returns error
pointers.

Fixes: 9a10c7e651 ("drm/simpledrm: Add support for system memory framebuffers")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/Y9JHzImRcUaa0mi1@kili
(cherry picked from commit e566507bf2)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
2023-02-01 11:16:46 +01:00
..
Kconfig drm/ofdrm: Depend on CONFIG_MMU 2022-11-03 10:17:53 +01:00
Makefile drm/ofdrm: Add ofdrm for Open Firmware framebuffers 2022-10-14 09:49:47 +02:00
arcpgu.c drm/fb-helper: Move generic fbdev emulation into separate source file 2022-11-05 17:12:04 +01:00
bochs.c drm/fb-helper: Move generic fbdev emulation into separate source file 2022-11-05 17:12:04 +01:00
cirrus.c drm/cirrus: Decouple fbdev bpp value from color depth 2022-11-24 14:07:52 +01:00
gm12u320.c drm: gm12u320: Remove #ifdef guards for PM related functions 2022-12-12 13:07:03 +00:00
hx8357d.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ili9163.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ili9225.c drm/mipi-dbi: Move drm_dev_{enter, exit}() out from fb_dirty functions 2022-12-05 14:21:18 +01:00
ili9341.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ili9486.c drm/tiny: ili9486: Do not assume 8-bit only SPI controllers 2023-01-02 11:02:08 +01:00
mi0283qt.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00
ofdrm.c drm/fb-helper: Replace bpp/depth parameter by color mode 2023-01-06 14:21:56 +01:00
panel-mipi-dbi.c drm/tiny: panel-mipi-dbi: Read I/O supply from DT 2022-12-14 14:58:09 +01:00
repaper.c drm/fb-helper: Move generic fbdev emulation into separate source file 2022-11-05 17:12:04 +01:00
simpledrm.c drm/simpledrm: Fix an NULL vs IS_ERR() bug 2023-02-01 11:16:46 +01:00
st7586.c drm/mipi-dbi: Move drm_dev_{enter, exit}() out from fb_dirty functions 2022-12-05 14:21:18 +01:00
st7735r.c drm/mipi-dbi: Initialize default driver functions with macro 2022-12-05 13:36:16 +01:00