linux/drivers/media/platform/mtk-vcodec
Dafna Hirschfeld 71c789760f media: mtk-vcodec: fix debugging defines
The mtk-vcodec uses some internal defined debug formats for
printing. This patch fixes some things in those defines:

1. use the 'pr_fmt' define to print function name and line.

2. remove 'if(DEBUG)' condition for the defines. This condition
prevents the debugs from being shown in case of dynamic debugs.
Instead replace 'pr_info' with 'pr_debug'

3. remove module parameters that enable/disable debug.
There is no reason for the driver to have those params. Having
those params require the user to explicitly set them when user
wants to see debug prints instead of using the global debugs
setting as expected by drivers to conform.

In addition to that, fix some warnings about debug formatting

[hverkuil: used %zu instead of %lu for sizeof() arguments]

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-11-30 12:18:34 +01:00
..
vdec media: mtk-vcodec: fix debugging defines 2021-11-30 12:18:34 +01:00
venc media: mtk-vcodec: remove unused func parameter 2021-11-19 06:03:24 +00:00
Makefile media: mtk-vcodec: vdec: support stateless H.264 decoding 2021-09-30 10:07:42 +02:00
mtk_vcodec_dec_drv.c media: mtk-vcodec: fix debugging defines 2021-11-30 12:18:34 +01:00
mtk_vcodec_dec_pm.c media: mtk-vcodec: fix PM runtime get logic 2021-05-10 11:36:34 +02:00
mtk_vcodec_dec_pm.h media: mtk-vcodec: fix PM runtime get logic 2021-05-10 11:36:34 +02:00
mtk_vcodec_dec_stateful.c media: mtk-vcodec: vdec: handle firmware version field 2021-09-30 10:07:41 +02:00
mtk_vcodec_dec_stateless.c media: mtk-vcodec: vdec: remove redundant 'pfb' assignment 2021-11-15 08:12:06 +00:00
mtk_vcodec_dec.c media: mtk-vcodec: vdec: support stateless API 2021-09-30 10:07:42 +02:00
mtk_vcodec_dec.h media: mtk-vcodec: Align width and height to 64 bytes 2021-11-15 08:12:04 +00:00
mtk_vcodec_drv.h media: mtk-vcodec: vdec: add media device if using stateless api 2021-09-30 10:07:42 +02:00
mtk_vcodec_enc_drv.c media: mtk-vcodec: fix debugging defines 2021-11-30 12:18:34 +01:00
mtk_vcodec_enc_pm.c media: mtk-vcodec: Separating mtk encoder driver 2021-04-06 16:06:52 +02:00
mtk_vcodec_enc_pm.h
mtk_vcodec_enc.c media: mtk-vcodec: enc: add vp8 profile ctrl 2021-11-19 06:02:52 +00:00
mtk_vcodec_enc.h
mtk_vcodec_fw_priv.h
mtk_vcodec_fw_scp.c
mtk_vcodec_fw_vpu.c
mtk_vcodec_fw.c
mtk_vcodec_fw.h
mtk_vcodec_intr.c media: mtk-vcodec: Fix order of log arguments 2021-01-27 13:11:25 +01:00
mtk_vcodec_intr.h
mtk_vcodec_util.c media: mtk-vcodec: fix debugging defines 2021-11-30 12:18:34 +01:00
mtk_vcodec_util.h media: mtk-vcodec: fix debugging defines 2021-11-30 12:18:34 +01:00
vdec_drv_base.h
vdec_drv_if.c media: mtk-vcodec: vdec: support stateless H.264 decoding 2021-09-30 10:07:42 +02:00
vdec_drv_if.h media: mtk-vcodec: vdec: support stateless H.264 decoding 2021-09-30 10:07:42 +02:00
vdec_ipi_msg.h media: mtk-vcodec: support version 2 of decoder firmware ABI 2021-09-30 10:07:41 +02:00
vdec_vpu_if.c media: mtk-vcodec: support version 2 of decoder firmware ABI 2021-09-30 10:07:41 +02:00
vdec_vpu_if.h media: mtk-vcodec: support version 2 of decoder firmware ABI 2021-09-30 10:07:41 +02:00
venc_drv_base.h
venc_drv_if.c
venc_drv_if.h
venc_ipi_msg.h media: mtk-vcodec: fix kerneldoc warnings 2021-06-17 10:25:59 +02:00
venc_vpu_if.c media: mtk-vcodec: remove unused func parameter 2021-11-19 06:03:24 +00:00
venc_vpu_if.h media: mtk-vcodec: remove unused func parameter 2021-11-19 06:03:24 +00:00