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 <leo.ding@rock-chips.com>
This commit is contained in:
Ding Wei
2021-10-22 13:52:57 +08:00
committed by Tao Huang
parent d6a0a91bc4
commit 616eb53bf1

View File

@@ -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)