diff --git a/drivers/crypto/rockchip/rkce/rkce_core.c b/drivers/crypto/rockchip/rkce/rkce_core.c index e2123d29aac5..e762e5fc31d9 100644 --- a/drivers/crypto/rockchip/rkce/rkce_core.c +++ b/drivers/crypto/rockchip/rkce/rkce_core.c @@ -250,7 +250,7 @@ static int rkce_init(void *rkce_hw) uint32_t value = 0; int ret; - ret = rkce_check_version(rkce_hw); + ret = rkce_check_version(rkce_reg); if (ret) goto exit;