alistair23-linux/drivers/media/platform/vsp1
Mauro Carvalho Chehab cce8ccca80 media: use the BIT() macro
As warned by cppcheck:

	[drivers/media/dvb-frontends/cx24123.c:434]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
	[drivers/media/pci/bt8xx/bttv-input.c:87]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
	[drivers/media/pci/bt8xx/bttv-input.c:98]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
			...
	[drivers/media/v4l2-core/v4l2-ioctl.c:1391]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour

There are lots of places where we're doing 1 << 31. That's bad,
as, depending on the architecture, this has an undefined behavior.

The BIT() macro is already prepared to handle this, so, let's
just switch all "1 << number" macros by BIT(number) at the header files
with has 1 << 31.

Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> # exynos4-is and s3c-camif
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> # omap3isp, vsp1, xilinx, wl128x and ipu3
Reviewed-by: Benoit Parrot <bparrot@ti.com> # am437x and ti-vpe
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-08-26 14:08:50 -03:00
..
Makefile media: v4l: vsp1: Add support for the DISCOM entity 2018-05-17 06:22:08 -04:00
vsp1.h media: vsp1: Add support for extended display list headers 2018-08-03 16:00:02 -04:00
vsp1_brx.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_brx.h media: v4l: vsp1: Use SPDX license headers 2018-05-17 06:22:08 -04:00
vsp1_clu.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_clu.h media: vsp1: Convert display lists to use new body pool 2018-05-25 18:42:46 -04:00
vsp1_dl.c media: vsp1: fix memory leak of dl on error return path 2019-08-14 16:00:59 -03:00
vsp1_dl.h media: vsp1: drm: Implement writeback support 2019-03-18 17:24:14 +02:00
vsp1_drm.c media: vsp1: drm: Implement writeback support 2019-03-18 17:24:14 +02:00
vsp1_drm.h media: vsp1: drm: Extend frame completion API to the DU driver 2019-03-18 17:24:09 +02:00
vsp1_drv.c media: vsp1: use periods at the end of comment sentences 2018-09-17 14:53:28 -04:00
vsp1_entity.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_entity.h media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_hgo.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_hgo.h media: v4l: vsp1: Use SPDX license headers 2018-05-17 06:22:08 -04:00
vsp1_hgt.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_hgt.h media: v4l: vsp1: Use SPDX license headers 2018-05-17 06:22:08 -04:00
vsp1_histo.c media: vsp1: set device_caps in struct video_device 2019-07-22 15:09:30 -04:00
vsp1_histo.h media: v4l: vsp1: Use SPDX license headers 2018-05-17 06:22:08 -04:00
vsp1_hsit.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_hsit.h media: v4l: vsp1: Use SPDX license headers 2018-05-17 06:22:08 -04:00
vsp1_lif.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_lif.h media: v4l: vsp1: Use SPDX license headers 2018-05-17 06:22:08 -04:00
vsp1_lut.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_lut.h media: vsp1: Convert display lists to use new body pool 2018-05-25 18:42:46 -04:00
vsp1_pipe.c media: vsp1: Add support for missing 16-bit RGB555 formats 2019-04-25 11:07:05 -04:00
vsp1_pipe.h media: vsp1: Support Interlaced display pipelines 2018-08-03 16:02:27 -04:00
vsp1_regs.h media: use the BIT() macro 2019-08-26 14:08:50 -03:00
vsp1_rpf.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_rwpf.c media: v4l: vsp1: Use SPDX license headers 2018-05-17 06:22:08 -04:00
vsp1_rwpf.h media: vsp1: wpf: Add writeback support 2019-03-18 17:24:01 +02:00
vsp1_sru.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_sru.h media: v4l: vsp1: Use SPDX license headers 2018-05-17 06:22:08 -04:00
vsp1_uds.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_uds.h media: vsp1: Adapt entities to configure into a body 2018-05-25 19:04:35 -04:00
vsp1_uif.c media: vsp1: Add vsp1_dl_list argument to .configure_stream() operation 2019-03-18 17:23:56 +02:00
vsp1_uif.h media: v4l: vsp1: Add support for the DISCOM entity 2018-05-17 06:22:08 -04:00
vsp1_video.c media: vsp1: set device_caps in struct video_device 2019-07-22 15:09:30 -04:00
vsp1_video.h media: vsp1: Move video suspend resume handling to video object 2018-05-25 18:37:32 -04:00
vsp1_wpf.c media: vsp1: wpf: Add writeback support 2019-03-18 17:24:01 +02:00