OpenCloudOS-Kernel/drivers/media/platform/s5p-mfc
Christophe JAILLET 019b48989f media: s5p-mfc: Use 'bitmap_zalloc()' when applicable
'mfc_dev->mem_bitmap' is a bitmap. So use 'bitmap_zalloc()' to simplify
code and improve the semantic.

Also change the corresponding 'kfree()' into 'bitmap_free()' to keep
consistency.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-11-15 08:12:02 +00:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regs-mfc-v6.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
regs-mfc-v7.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
regs-mfc-v8.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
regs-mfc-v10.h media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
regs-mfc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s5p_mfc.c media: s5p-mfc: Use 'bitmap_zalloc()' when applicable 2021-11-15 08:12:02 +00:00
s5p_mfc_cmd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_cmd.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_cmd_v5.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_cmd_v5.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_cmd_v6.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_cmd_v6.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_common.h media: s5p-mfc: Fix kernel-doc entries in s5p_mfc_common.h 2021-04-06 19:36:11 +02:00
s5p_mfc_ctrl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_ctrl.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_debug.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s5p_mfc_dec.c media: s5p-mfc: Fix display delay control creation 2021-06-28 15:17:42 +02:00
s5p_mfc_dec.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_enc.c media: Rename stateful codec control macros 2020-12-03 12:27:32 +01:00
s5p_mfc_enc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p_mfc_intr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s5p_mfc_intr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s5p_mfc_iommu.h iommu/exynos: Use dev_iommu_priv_get/set() 2020-06-30 11:59:48 +02:00
s5p_mfc_opr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s5p_mfc_opr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s5p_mfc_opr_v5.c media: drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c : fix typo 'in deed imporant' > 'indeed important' 2021-07-12 09:16:36 +02:00
s5p_mfc_opr_v5.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s5p_mfc_opr_v6.c media: don't do a 31 bit shift on a signed int 2019-08-26 14:11:10 -03:00
s5p_mfc_opr_v6.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s5p_mfc_pm.c media: s5p-mfc: use pm_runtime_resume_and_get() 2021-05-20 16:02:43 +02:00
s5p_mfc_pm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00