Skip to content

Commit

Permalink
video: rockchip: mpp: rkvdec: suppress cru reset logs
Browse files Browse the repository at this point in the history
[  287.968928] rkvdec2_reset:1390: cru reset
[  287.969095] rkvdec2_reset:1390: cru reset
[  307.341233] rkvdec2_reset:1390: cru reset
[  307.341284] rkvdec2_reset:1390: cru reset
[  409.407484] rkvdec2_reset:1390: cru reset
[  409.407659] rkvdec2_reset:1390: cru reset
[  807.117098] rkvdec2_reset:1390: cru reset
[  807.117194] rkvdec2_reset:1390: cru reset
[  936.456230] rkvdec2_reset:1390: cru reset
[  936.456401] rkvdec2_reset:1390: cru reset
...

After ba6b241, the cru reset always occurs at the end of
each decoding process. Use mpp_debug instead to log it.

Signed-off-by: nyanmisaka <[email protected]>
  • Loading branch information
nyanmisaka authored and amazingfate committed Nov 25, 2024
1 parent 31f9143 commit 90fcfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/rockchip/mpp/mpp_rkvdec2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ int rkvdec2_reset(struct mpp_dev *mpp)

/* cru reset */
if (dec->rst_a && dec->rst_h) {
mpp_err("cru reset\n");
mpp_debug(DEBUG_RESET, "cru reset\n");
mpp_pmu_idle_request(mpp, true);
mpp_safe_reset(dec->rst_niu_a);
mpp_safe_reset(dec->rst_niu_h);
Expand Down

0 comments on commit 90fcfbd

Please sign in to comment.