[PATCH] drm/panel: simple: Skip error message on deferred probe

Thierry Reding thierry.reding at gmail.com
Fri Aug 18 13:47:03 UTC 2017


On Fri, Jun 30, 2017 at 06:14:46PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> When enable_gpio is provided via an I2C or SPI expander, it may not be
> available when panel-simple probes leading to the following error:
> 
> panel-simple panel: failed to request GPIO: -517
> 
> As this error message is not very useful to the end user, skip printing
> it in the case of deferred probe.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied to drm-misc-next, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170818/b00014d0/attachment.sig>


More information about the dri-devel mailing list