linux_dsm_epyc7002/drivers/media
Daniel Scheller 8b8fcf3250 media: ddbridge: don't uselessly check for dma in start/stop functions
The check for a valid ptr in ddb_io->dma isn't really necessary since only
devices that do data transport using DMA are supported by the driver, and
all previous initialisation code (through input_init(), output_init() and
dma_init(), has_dma is always true as it's set in ddb_probe() during
driver load) guarantees the ptr is set.

As a side effect, this silences these sparse warnings (albeit them being
false positives as ddb_io->dma won't change in these functions so the
condition always equals to the same result):

    drivers/media/pci/ddbridge/ddbridge-core.c:495:9: warning: context imbalance in 'ddb_output_start' - different lock contexts for basic block
    drivers/media/pci/ddbridge/ddbridge-core.c:510:9: warning: context imbalance in 'ddb_output_stop' - different lock contexts for basic block
    drivers/media/pci/ddbridge/ddbridge-core.c:525:9: warning: context imbalance in 'ddb_input_stop' - different lock contexts for basic block
    drivers/media/pci/ddbridge/ddbridge-core.c:560:9: warning: context imbalance in 'ddb_input_start' - different lock contexts for basic block

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-04-17 05:52:43 -04:00
..
cec media: cec: fix smatch error 2018-04-17 05:49:59 -04:00
common media: v4l2-tpg-core.c: add space after % 2018-04-04 06:12:52 -04:00
dvb-core media: dvb_frontend: fix locking issues at dvb_frontend_get_event() 2018-04-17 05:49:58 -04:00
dvb-frontends media: sp887x: fix a warning 2018-03-23 06:54:32 -04:00
firewire
i2c media updates for v4.17-rc1 2018-04-10 10:10:30 -07:00
mmc
pci media: ddbridge: don't uselessly check for dma in start/stop functions 2018-04-17 05:52:43 -04:00
platform media: platform: fix some 64-bits warnings 2018-04-17 05:50:00 -04:00
radio media: si470x: fix __be16 annotations 2018-04-17 05:28:05 -04:00
rc media: st_rc: Don't stay on an IRQ handler forever 2018-04-17 05:50:05 -04:00
spi media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver 2018-03-07 05:02:57 -05:00
tuners media: r820t: don't crash if attach fails 2018-04-04 05:36:20 -04:00
usb media: gspca: fix Kconfig help info 2018-04-04 06:27:28 -04:00
v4l2-core media: v4l2-compat-ioctl32: prevent go past max size 2018-04-17 05:50:00 -04:00
Kconfig media updates for v4.17-rc1 2018-04-03 17:16:59 -07:00
Makefile
media-device.c
media-devnode.c
media-entity.c