linux_dsm_epyc7002/drivers/media
Helen Mae Koike Fornazier 47dfdb3a88 [media] media: change pipeline validation return error
According to the V4L2 API, the VIDIOC_STREAMON ioctl should return EPIPE
if there is a format mismatch in the pipeline configuration.

As the .vidioc_streamon in the v4l2_ioctl_ops usually forwards the error
caused by the v4l2_subdev_link_validate_default (if it is in use), it
should return -EPIPE when it detect the mismatch.

When an entity is connected to a non enabled link,
media_entity_pipeline_start should return -ENOLINK, as the link does not
exist.

Signed-off-by: Helen Mae Koike Fornazier <helen.koike@collabora.co.uk>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-04-29 08:07:17 -03:00
..
common [media] tpg: Export the tpg code from vivid as a module 2016-04-20 16:14:39 -03:00
dvb-core [media] dvb-core: fix return code checking for devices with CA 2016-03-03 14:33:33 -03:00
dvb-frontends [media] dib0090: fix smatch error 2016-04-20 15:48:59 -03:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] media/i2c/adv*: make controls inheritable instead of private 2016-04-25 08:14:38 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] tw686x: avoid going past array 2016-04-26 06:38:53 -03:00
platform [media] tpg: Export the tpg code from vivid as a module 2016-04-20 16:14:39 -03:00
radio [media] tea575x: convert to library 2016-02-10 09:34:28 -02:00
rc [media] mceusb: use %*ph for small buffer dumps 2016-03-10 13:37:44 -03:00
tuners [media] xc4000: shut up a bogus smatch message 2016-02-23 07:14:02 -03:00
usb [media] cx231xx: silence uninitialized variable warning 2016-04-25 08:06:03 -03:00
v4l2-core [media] media: change pipeline validation return error 2016-04-29 08:07:17 -03:00
Kconfig [media] Kconfig: Re-enable Media controller support for DVB 2016-01-11 12:18:40 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media-device: get rid of the spinlock 2016-04-20 13:12:02 -03:00
media-devnode.c [media] media-devnode: add missing mutex lock in error handler 2016-04-06 05:39:56 -07:00
media-entity.c [media] media: change pipeline validation return error 2016-04-29 08:07:17 -03:00