OpenCloudOS-Kernel/drivers/media/platform/s5p-mfc
Mauro Carvalho Chehab 93eaf301a7 media: s5p_mfc_enc: get rid of new warnings
The values of enc_y_addr and enc_c_addr are initialized by
s5p_mfc_hw_call(), but, in thesis, this macro might be doing
nothing, if the get_enc_frame_buffer() is not declared.
That causes those GCC warnings:

	drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1242 enc_post_frame_start() error: uninitialized symbol 'enc_y_addr'.
	drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1243 enc_post_frame_start() error: uninitialized symbol 'enc_c_addr'.
	drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1256 enc_post_frame_start() error: uninitialized symbol 'enc_y_addr'.
	drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1257 enc_post_frame_start() error: uninitialized symbol 'enc_c_addr'.

Change the logic by initializing those constants to zero,
with should hopefully do the right thing.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-22 07:23:48 -04: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 [media] s5p-mfc: Reduce firmware buffer size for MFC v6+ variants 2017-04-05 15:55:39 -03:00
regs-mfc-v7.h [media] s5p-mfc: Reduce firmware buffer size for MFC v6+ variants 2017-04-05 15:55:39 -03:00
regs-mfc-v8.h media: s5p-mfc: Use min scratch buffer size as provided by F/W 2018-03-22 07:08:26 -04:00
regs-mfc-v10.h media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
regs-mfc.h [media] s5p-mfc: Skip incomplete frame 2016-11-16 16:39:35 -02:00
s5p_mfc.c media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_cmd.c [media] s5p-mfc: Rename IS_MFCV6 macro 2013-08-18 07:08:34 -03:00
s5p_mfc_cmd.h [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_cmd_v5.c [media] s5p-mfc: Put firmware to private buffer structure 2017-04-05 15:53:06 -03:00
s5p_mfc_cmd_v5.h [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_cmd_v6.c media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_cmd_v6.h [media] s5p-mfc: Update MFC v4l2 driver to support MFC6.x 2012-10-05 23:08:31 -03:00
s5p_mfc_common.h media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_ctrl.c media: s5p-mfc: Use real device for request_firmware() call 2018-03-22 07:19:52 -04:00
s5p_mfc_ctrl.h [media] s5p-mfc: Remove unused structures and dead code 2017-04-05 15:45:43 -03:00
s5p_mfc_debug.h [media] s5p-mfc: Use printk_ratelimited for reporting ioctl errors 2016-11-30 09:16:23 -02:00
s5p_mfc_dec.c media: s5p-mfc: Add VP9 decoder support 2018-03-22 07:18:13 -04:00
s5p_mfc_dec.h [media] s5p-mfc: constify s5p_mfc_codec_ops structures 2015-12-23 13:52:30 -02:00
s5p_mfc_enc.c media: s5p_mfc_enc: get rid of new warnings 2018-03-22 07:23:48 -04:00
s5p_mfc_enc.h [media] s5p-mfc: constify s5p_mfc_codec_ops structures 2015-12-23 13:52:30 -02:00
s5p_mfc_intr.c [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_intr.h
s5p_mfc_iommu.h [media] s5p-mfc: Remove special configuration of IOMMU domain 2017-04-05 16:02:26 -03:00
s5p_mfc_opr.c [media] s5p-mfc: Don't allocate codec buffers from pre-allocated region 2017-04-05 16:36:53 -03:00
s5p_mfc_opr.h media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_opr_v5.c [media] s5p-mfc: fix spelling mistake: "destionation" -> "destination" 2017-06-13 14:01:10 -03:00
s5p_mfc_opr_v5.h [media] s5p-mfc: Update MFCv5 driver for callback based architecture 2012-10-05 22:53:37 -03:00
s5p_mfc_opr_v6.c media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_opr_v6.h media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_pm.c [media] s5p-mfc: Rework clock handling 2016-11-30 09:21:30 -02:00
s5p_mfc_pm.h