diff options
author | 2024-04-25 17:26:18 +0300 | |
---|---|---|
committer | 2024-05-02 09:41:26 +0200 | |
commit | 740fc1e0509be3f7e2207e89125b06119ed62943 (patch) | |
tree | afcb3688369ca9f404a064f6e0bd07e640870e21 /drivers/platform/x86/intel | |
parent | drm/panel: ili9341: Correct use of device property APIs (diff) | |
download | linux-740fc1e0509be3f7e2207e89125b06119ed62943.tar.gz linux-740fc1e0509be3f7e2207e89125b06119ed62943.tar.bz2 linux-740fc1e0509be3f7e2207e89125b06119ed62943.zip |
drm/panel: ili9341: Respect deferred probe
GPIO controller might not be available when driver is being probed.
There are plenty of reasons why, one of which is deferred probe.
Since GPIOs are optional, return any error code we got to the upper
layer, including deferred probe. With that in mind, use dev_err_probe()
in order to avoid spamming the logs.
Fixes: 5a04227326b0 ("drm/panel: Add ilitek ili9341 panel driver")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Sui Jingfeng <sui.jingfeng@linux.dev>
Link: https://lore.kernel.org/r/20240425142706.2440113-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240425142706.2440113-3-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/platform/x86/intel')
0 files changed, 0 insertions, 0 deletions