2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/media
Hans Verkuil 044041cd52 media: mc-entity.c: use & to check pad flags, not ==
These are bits so to test if a pad is a sink you use & but not ==.

It looks like the only reason this hasn't caused problems before is that
media_get_pad_index() is currently only used with pads that do not set the
MEDIA_PAD_FL_MUST_CONNECT flag. So a pad really had only the SINK or SOURCE
flag set and nothing else.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: <stable@vger.kernel.org>      # for v5.3 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-02-24 15:10:04 +01:00
..
cec media: cec: remove unused functions 2020-01-08 14:38:06 +01:00
common media updates for v5.6-rc1 2020-01-31 14:43:23 -08:00
dvb-core media: dvb-core: dvbdev: convert to use i2c_new_client_device() 2020-01-09 15:57:46 +01:00
dvb-frontends media: dvb-frontends: ts2020: convert to use i2c_new_client_device() 2020-01-09 16:00:13 +01:00
firewire media: firewire: Make structure fdtv_ca constant 2019-08-21 18:39:55 -03:00
i2c media: mt9v111: constify copied structure 2020-01-23 15:48:05 +01:00
mc media: mc-entity.c: use & to check pad flags, not == 2020-02-24 15:10:04 +01:00
mmc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pci media updates for v5.6-rc1 2020-01-31 14:43:23 -08:00
platform media: vicodec: process all 4 components for RGB32 formats 2020-02-24 15:08:18 +01:00
radio media: si470x-i2c: add missed operations in remove 2019-11-10 07:28:15 +01:00
rc media: iguanair: fix endpoint sanity check 2020-01-09 16:07:04 +01:00
spi media: Clarify how menus are hidden by SUBDRV_AUTOSELECT 2019-08-19 12:00:29 -03:00
tuners media: tuners: Use the correct style for SPDX License Identifier 2019-10-24 18:57:55 -03:00
usb media: pulse8-cec: close serio in disconnect, not adap_free 2020-02-24 15:05:14 +01:00
v4l2-core media: v4l2-mem2mem.c: fix broken links 2020-02-24 15:09:10 +01:00
Kconfig media: Clarify how menus are hidden by SUBDRV_AUTOSELECT 2019-08-19 12:00:29 -03:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00