Right now, the DRM panel logic returns NULL when a panel pointing to the passed OF node is not present in the list of registered panels. Most drivers interpret this NULL value as -EPROBE_DEFER, but we are about to modify the semantic of of_drm_find_panel() and let the framework return -ENODEV when the device node we're pointing to has a status property that is not equal to "okay" or "ok". Let's first patch the of_drm_find_panel() implementation to return ERR_PTR(-EPROBE_DEFER) instead of NULL and patch all callers to replace the '!panel' check by an 'IS_ERR(panel)' one. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180509130042.9435-2-boris.brezillon@bootlin.com |
||
|---|---|---|
| .. | ||
| adv7511 | ||
| analogix | ||
| synopsys | ||
| analogix-anx78xx.c | ||
| analogix-anx78xx.h | ||
| cdns-dsi.c | ||
| dumb-vga-dac.c | ||
| Kconfig | ||
| lvds-encoder.c | ||
| Makefile | ||
| megachips-stdpxxxx-ge-b850v3-fw.c | ||
| nxp-ptn3460.c | ||
| panel.c | ||
| parade-ps8622.c | ||
| sii902x.c | ||
| sii9234.c | ||
| sil-sii8620.c | ||
| sil-sii8620.h | ||
| tc358767.c | ||
| thc63lvd1024.c | ||
| ti-tfp410.c | ||