android_kernel_xiaomi_sdm845/drivers/media/video/cx88
Andrew de Quincey d09dbf92ad V4L/DVB (3762): Add sysfs device links to dvb devices
Currently in /sys/class/dvb/dvbX.demuxY/ we have:
	dev
	uevent
With the patch, we have (for a PCI DVB device):
	dev
	device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:0d.0
	uevent
So userspace tools can (finally) work out which physical device a DVB adapter
refers to. Previously you had to kinda look through dmesg and hope that it
hadn't been dumped out of the buffer. This makes debugging a lot easier if
the system has been up for a long time!
This is done by adding an extra 'struct device *' parameter to
dvb_register_adapter(). It will work with any kind of standard
linux 'device'. Additionally, if someone has an embedded system which does
things differently, they can simply supply 'NULL' and the behaviour will be
as before - the link will simply not appear.

Ack'd-by: Manu Abraham <manu@linuxtv.org>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-25 01:57:55 -03:00
..
cx88-alsa.c V4L/DVB (3715): Change all emails to the currently used one. 2006-06-25 01:57:39 -03:00
cx88-blackbird.c V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
cx88-cards.c V4L/DVB (3736): Cx88 cleanup: move CX88_BOARD_PCHDTV_HD5500 to the end of the cards array 2006-06-25 01:57:49 -03:00
cx88-core.c V4L/DVB (3766): Correct buffer size calculations in cx88-core.c 2006-05-12 19:54:50 -03:00
cx88-dvb.c V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
cx88-i2c.c V4L/DVB (3269): ioctls cleanups. 2006-01-09 15:32:31 -02:00
cx88-input.c V4L/DVB (3448): Cx88-input.c: add IR remote control support to CX88_BOARD_PROLINK_PLAYTVPVR 2006-03-21 08:53:14 -08:00
cx88-mpeg.c V4L/DVB (3761): Silence some dprintk's in cx88-mpeg 2006-06-25 01:57:54 -03:00
cx88-reg.h [PATCH] v4l: 800: whitespace cleanups 2005-11-09 07:56:20 -08:00
cx88-tvaudio.c V4L/DVB (3584): Implement V4L2_TUNER_MODE_LANG1_LANG2 audio mode 2006-03-24 16:26:58 -03:00
cx88-vbi.c V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
cx88-video.c V4L/DVB (3774): Create V4L1 config options 2006-05-12 19:54:53 -03:00
cx88-vp3054-i2c.c V4L/DVB (3356): Include missing MODULE_* macros 2006-01-13 14:10:24 -02:00
cx88-vp3054-i2c.h V4L/DVB (3220): Add support for VP-3054 HDTV board 2006-01-09 15:25:35 -02:00
cx88.h V4L/DVB (3735): Add support for pcHDTV HD5500 ATSC/QAM 2006-06-25 01:57:48 -03:00
Kconfig V4L/DVB (3689): Kconfig: fix VP-3054 Secondary I2C Bus build configuration menu dependencies 2006-04-02 04:56:03 -03:00
Makefile kbuild: fix unneeded rebuilds in drivers/media/video after moving source tree 2006-04-04 16:50:50 +02:00