From 616eb53bf1f75cd373b57b956e5c251fdb9a2ca8 Mon Sep 17 00:00:00 2001 From: Ding Wei Date: Fri, 22 Oct 2021 13:52:57 +0800 Subject: [PATCH] video: rockchip: mpp: rkvenc: probe issue for devfreq init error When devfreq initially fails, the device can still continue to execute, but there is no devfreq function. Change-Id: I2a39a77e0a85cb43854b6adbe0476905abcc9a3b Signed-off-by: Ding Wei --- drivers/video/rockchip/mpp/mpp_rkvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/mpp/mpp_rkvenc.c b/drivers/video/rockchip/mpp/mpp_rkvenc.c index 8881f9f04036..9c92c7643b25 100644 --- a/drivers/video/rockchip/mpp/mpp_rkvenc.c +++ b/drivers/video/rockchip/mpp/mpp_rkvenc.c @@ -1216,7 +1216,7 @@ static int rkvenc_init(struct mpp_dev *mpp) mpp->iommu_info->hdl = rkvenc_iommu_fault_handle; - return ret; + return 0; } static int rkvenc_exit(struct mpp_dev *mpp)