video: rockchip: mpp: fix error for hand writing

Change-Id: If8483dfa7e4b432128d1139b69f9d414c5d04a22
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
Ding Wei
2020-07-23 19:41:49 +08:00
parent d7bc7fe3a6
commit bf5afbeaf9

View File

@@ -907,7 +907,7 @@ static int rkvdec_run(struct mpp_dev *mpp,
reg |= RKVDEC_CACHE_LINE_SIZE_64_BYTES;
mpp_write_relaxed(mpp, RKVDEC_REG_CACHE0_SIZE_BASE, reg);
mpp_write_relaxed(mpp, RKVDEC_REG_CACHE0_SIZE_BASE, reg);
mpp_write_relaxed(mpp, RKVDEC_REG_CACHE1_SIZE_BASE, reg);
/* clear cache */
mpp_write_relaxed(mpp, RKVDEC_REG_CLR_CACHE0_BASE, 1);
mpp_write_relaxed(mpp, RKVDEC_REG_CLR_CACHE1_BASE, 1);