Hi,

On 2024/4/25 22:26, Andy Shevchenko wrote:
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.shevche...@linux.intel.com>
Reviewed-by: Neil Armstrong <neil.armstr...@linaro.org>


Reviewed-by: Sui Jingfeng <sui.jingf...@linux.dev>

--
Best regards,
Sui

Reply via email to