diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/imx-drm/ipu-v3/ipu-di.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-di.c b/drivers/staging/imx-drm/ipu-v3/ipu-di.c index 0b6806e..948a49b 100644 --- a/drivers/staging/imx-drm/ipu-v3/ipu-di.c +++ b/drivers/staging/imx-drm/ipu-v3/ipu-di.c @@ -654,7 +654,9 @@ EXPORT_SYMBOL_GPL(ipu_di_init_sync_panel); int ipu_di_enable(struct ipu_di *di) { - clk_prepare_enable(di->clk_di_pixel); + int ret = clk_prepare_enable(di->clk_di_pixel); + if (ret) + return ret; ipu_module_enable(di->ipu, di->module); |