Skip to content

Commit

Permalink
video: rockchip: mpp: Fix procfs error log
Browse files Browse the repository at this point in the history
Fix error log:

11645.713174][ T2197] mpp_vepu2 fdb50000.vepu: probing finish
[11645.713382][ T2197] mpp_vepu2 fdba0000.jpege-core: probing start
[11645.713698][ T2197] mpp_vepu2 fdba0000.jpege-core: attach ccu success
[11645.714080][ T2197] ------------[ cut here ]------------
[11645.714088][ T2197] proc_dir_entry 'jpege-core0/disable_work' already registered
[11645.714115][ T2197] WARNING: CPU: 5 PID: 2197 at fs/proc/generic.c:382 proc_register+0x12c/0x1b0
[11645.714119][ T2197] Modules linked in: rk_vcodec(+) bcmdhd dhd_static_buf r8168 [last unloaded: rk_vcodec]
[11645.714136][ T2197] CPU: 5 PID: 2197 Comm: insmod Tainted: G        W         5.10.110 rockchip-linux#16
[11645.714139][ T2197] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[11645.714144][ T2197] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[11645.714148][ T2197] pc : proc_register+0x12c/0x1b0
[11645.714152][ T2197] lr : proc_register+0x124/0x1b0
[11645.714156][ T2197] sp : ffffffc01a9c35d0
[11645.714159][ T2197] x29: ffffffc01a9c35d0 x28: ffffffc009520d87
[11645.714164][ T2197] x27: ffffffc01007bf40 x26: ffffff818004f080
[11645.714169][ T2197] x25: ffffff816cada508 x24: ffffff816cada440
[11645.714173][ T2197] x23: 000000000000000c x22: ffffff816cada8ec
[11645.714178][ T2197] x21: ffffff816cada440 x20: ffffff816cada3c0
[11645.714182][ T2197] x19: ffffff816cada840 x18: ffffffc0171cd118
[11645.714187][ T2197] x17: 0000000000000000 x16: 00000000000000d8
[11645.714192][ T2197] x15: 0000000000000004 x14: 0000000000003fff
[11645.714197][ T2197] x13: ffffffc011fec6c8 x12: 0000000000000003
[11645.714201][ T2197] x11: 00000000ffffbfff x10: 00000000ffffffff
[11645.714206][ T2197] x9 : 561644a8ffb72f00 x8 : 561644a8ffb72f00
[11645.714211][ T2197] x7 : 205d373931325420 x6 : ffffffc0121cc740
[11645.714217][ T2197] x5 : ffffffffffffffff x4 : 0000000000000000
[11645.714222][ T2197] x3 : ffffffc011c7fff0 x2 : 0000000000000000
[11645.714226][ T2197] x1 : 0000000000000001 x0 : ffffffc0123d47c8
[11645.714232][ T2197] Call trace:
[11645.714236][ T2197]  proc_register+0x12c/0x1b0

Fixes: 1f0130b ("video: rockchip: mpp: Add more common procfs")
Signed-off-by: Herman Chen <[email protected]>
Change-Id: Ifb0031508fb5a0318497597414fb3e4a70bd0972
  • Loading branch information
HermanChen authored and rkhuangtao committed Aug 29, 2022
1 parent 5f65702 commit 63679dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/rockchip/mpp/mpp_vepu2.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,6 @@ static int vepu_procfs_ccu_init(struct mpp_dev *mpp)
if (!enc->procfs)
goto done;

mpp_procfs_create_u32("disable_work", 0644,
enc->procfs, &enc->disable_work);
done:
return 0;
}
Expand Down

0 comments on commit 63679dd

Please sign in to comment.