linux_dsm_epyc7002/drivers/gpu/drm/panel
Maxime Ripard a0d605372a
drm/panel: lvds: Handle the optional regulator case properly
The devm_regulator_get_optional function, unlike it was assumed in the
commit a1c55bccf6 ("drm/panel: lvds: Add support for the power-supply
property"), is actually returning an error pointer with -ENODEV instead of
NULL when there's no regulator to find.

Make sure we handle that case properly.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Fixes: a1c55bccf6 ("drm/panel: lvds: Add support for the power-supply property")
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180110155941.16109-1-maxime.ripard@free-electrons.com
2018-01-15 10:16:56 +01:00
..
Kconfig drm/panel: Add Ilitek ILI9322 driver 2017-12-22 09:05:45 +01:00
Makefile drm/panel: Add Ilitek ILI9322 driver 2017-12-22 09:05:45 +01:00
panel-ilitek-ili9322.c drm/panel: Add Ilitek ILI9322 driver 2017-12-22 09:05:45 +01:00
panel-innolux-p079zca.c
panel-jdi-lt070me05000.c
panel-lg-lg4573.c
panel-lvds.c drm/panel: lvds: Handle the optional regulator case properly 2018-01-15 10:16:56 +01:00
panel-orisetech-otm8009a.c
panel-panasonic-vvx10f034n00.c
panel-raspberrypi-touchscreen.c
panel-samsung-ld9040.c
panel-samsung-s6e3ha2.c
panel-samsung-s6e8aa0.c
panel-samsung-s6e63j0x03.c
panel-seiko-43wvf1g.c
panel-sharp-lq101r1sx01.c
panel-sharp-ls043t1le01.c
panel-simple.c drm/panel: simple: Add Mitsubishi AA070MC01 panel support 2017-11-17 12:42:24 +01:00
panel-sitronix-st7789v.c