video: rockchip: mpp: allow rockchip sip as module

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0fcc27563a5e406b0383c074c68d08bfc7d837af
This commit is contained in:
Joseph Chen
2020-08-05 15:41:44 +08:00
committed by Tao Huang
parent 91422abe8b
commit fd44df1817

View File

@@ -1546,7 +1546,7 @@ static int rkvdec_sip_reset(struct mpp_dev *mpp)
struct rkvdec_dev *dec = to_rkvdec_dev(mpp);
/* The reset flow in arm trustzone firmware */
#if CONFIG_ROCKCHIP_SIP
#if IS_ENABLED(CONFIG_ROCKCHIP_SIP)
mutex_lock(&dec->sip_reset_lock);
sip_smc_vpu_reset(0, 0, 0);
mutex_unlock(&dec->sip_reset_lock);