drm: rcar-du: Don't fail probe in case of partial encoder init error
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 10 Dec 2014 23:26:04 +0000 (01:26 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 23 Dec 2014 10:01:48 +0000 (12:01 +0200)
commit347d761c74f75d55a36350ae7505498bd56b33ec
tree6f608cba5fd2960c2dd35dafdc6b505f470f0339
parent3b2b36e5f0ba60f5a7a770ab1bae3264b8d090b8
drm: rcar-du: Don't fail probe in case of partial encoder init error

If an encoder fails to initialize the device can still be used without
the failed encoder. Don't propagate the error out of the probe function
but just skip the failed encoder.

As a special case a deferred probe request from the encoder is still
propagated out of the probe function in order not to break the deferred
probing mechanism.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_encoder.c
drivers/gpu/drm/rcar-du/rcar_du_kms.c