linux-stable/drivers/media
Mauro Carvalho Chehab 8fc3486783 [media] saa7134: use input types, instead of hardcoding strings
Currently, the saa7134 driver is hardcoding input names on each
board entry. More modern drivers define, instead, an enum for each
input type.

While the current logic works, it adds extra complexity at the driver,
as it needs to discover the type of the input using some euristics.

Instead, let's standardize the input types and use a type, instead of
a name on all places.

That will allow further patches to properly report the input type
via VIDIOC_G_INPUT and to remove an extra field from the struct to
identify if the input is for TV.

Please notice that several boards define an input for receiving composite
signals via a S-Video connector. The name of such input was inconsistent,
so this patch cleans it and make it to be properly reported the
same way for all boards.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-10 07:23:42 -02:00
..
common [media] siano: remove get_frontend stub 2016-02-04 16:27:17 -02:00
dvb-core [media] dvb_frontend: Don't let drivers to trash data at cache 2016-02-04 16:27:41 -02:00
dvb-frontends Linux 4.5-rc3 2016-02-09 08:56:42 -02:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c Linux 4.5-rc3 2016-02-09 08:56:42 -02:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] saa7134: use input types, instead of hardcoding strings 2016-02-10 07:23:42 -02:00
platform Linux 4.5-rc3 2016-02-09 08:56:42 -02:00
radio [media] radio-si476x: add return value check to avoid dead code 2016-02-01 08:01:15 -02:00
rc [media] rc/nuvoton_cir: fix locking issue when calling nvt_disable_cir 2016-02-02 14:28:55 -02:00
tuners [media] xc2028: unlock on error in xc2028_set_config() 2016-02-04 09:30:31 -02:00
usb [media] em2xx: use v4l2_mc_create_media_graph() 2016-02-10 07:23:41 -02:00
v4l2-core [media] add media controller support to videobuf2-dvb 2016-02-10 07:23:41 -02: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 Revert "[media] Postpone the addition of MEDIA_IOC_G_TOPOLOGY" 2016-01-25 07:29:43 -02:00
media-devnode.c [media] media: Fix media_open() to clear filp->private_data in error leg 2016-02-01 13:21:33 -02:00
media-entity.c [media] media: Media Controller fix to not let stream_count go negative 2016-02-01 13:32:50 -02:00