diff options
| -rw-r--r-- | drivers/gpu/drm/rcar-du/rcar_du_kms.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c b/drivers/gpu/drm/rcar-du/rcar_du_kms.c index fbeabd9a281f..a87edfac111f 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c | |||
| @@ -248,7 +248,10 @@ int rcar_du_modeset_init(struct rcar_du_device *rcdu) | |||
| 248 | continue; | 248 | continue; |
| 249 | } | 249 | } |
| 250 | 250 | ||
| 251 | rcar_du_encoder_init(rcdu, pdata->type, pdata->output, pdata); | 251 | ret = rcar_du_encoder_init(rcdu, pdata->type, pdata->output, |
| 252 | pdata); | ||
| 253 | if (ret < 0) | ||
| 254 | return ret; | ||
| 252 | } | 255 | } |
| 253 | 256 | ||
| 254 | /* Set the possible CRTCs and possible clones. There's always at least | 257 | /* Set the possible CRTCs and possible clones. There's always at least |
