mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 18:26:42 +00:00
e37559b22c
The vb2 core ignores any return code from the stop_streaming op. And there really isn't anything it can do anyway in case of an error. So change the return type to void and update any drivers that implement it. The int return gave drivers the idea that this operation could actually fail, but that's really not the case. The pwc amd sdr-msi3101 drivers both had this construction: if (mutex_lock_interruptible(&s->v4l2_lock)) return -ERESTARTSYS; This has been updated to just call mutex_lock(). The stop_streaming op expects this to really stop streaming and I very much doubt this will work reliably if stop_streaming just returns without really stopping the DMA. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Pawel Osciak <pawel@osciak.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
tlg2300 release notes ==================== This is a v4l2/dvb device driver for the tlg2300 chip. current status ============== video - support mmap and read().(no overlay) audio - The driver will register a ALSA card for the audio input. vbi - Works for almost TV norms. dvb-t - works for DVB-T FM - Works for radio. --------------------------------------------------------------------------- TESTED APPLICATIONS: -VLC1.0.4 test the video and dvb. The GUI is friendly to use. -Mplayer test the video. -Mplayer test the FM. The mplayer should be compiled with --enable-radio and --enable-radio-capture. The command runs as this(The alsa audio registers to card 1): #mplayer radio://103.7/capture/ -radio adevice=hw=1,0:arate=48000 \ -rawaudio rate=48000:channels=2 --------------------------------------------------------------------------- KNOWN PROBLEMS: about preemphasis: You can set the preemphasis for radio by the following command: #v4l2-ctl -d /dev/radio0 --set-ctrl=pre_emphasis_settings=1 "pre_emphasis_settings=1" means that you select the 50us. If you want to select the 75us, please use "pre_emphasis_settings=2"