linux/drivers/media/dvb
Chris Rankin 556a0442e0 [media] dvb_frontend: regression fix: userspace ABI broken for xine
The commit e399ce77e6 has broken the DVB ABI for xine:

The problem is that xine is expecting every event after a successful
FE_SET_FRONTEND ioctl to have a non-zero frequency parameter, regardless
of whether the tuning process has LOCKed yet. What used to happen is
that the events inherited the initial tuning parameters from the
FE_SET_FRONTEND call. However, the fepriv->parameters_out struct is now
not initialised until the status contains the FE_HAS_LOCK bit.

You might argue that this behaviour is intentional, except that if an
application other than xine uses the DVB adapter and manages to set the
parameters_out.frequency field to something other than zero, then xine
no longer has any problems until either the adapter is replugged or the
kernel modules reloaded. This can only mean that the
fepriv->parameters_out struct still contains the (stale) tuning
information from the previous application.

Signed-off-by: Chris Rankin <rankincj@yahoo.com>
Cc: stable@kernel.org # for kernel version 3.3
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-04-09 09:41:34 -03:00
..
b2c2 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
bt8xx [media] dvb-bt8xx: convert printks to pr_err() 2012-01-07 11:53:35 -02:00
ddbridge [media] cx18/ddbridge: remove unused headers 2012-02-14 13:44:52 -02:00
dm1105 [media] dm1105: release dvbnet on frontend attachment failure 2012-01-07 11:54:03 -02:00
dvb-core [media] dvb_frontend: regression fix: userspace ABI broken for xine 2012-04-09 09:41:34 -03:00
dvb-usb [media] mxl111sf: fix error on stream stop in mxl111sf_ep6_streaming_ctrl() 2012-03-19 22:24:40 -03:00
firewire [media] firedtv: handle errors from dvb_net_init 2012-01-06 12:51:26 -02:00
frontends [media] stb0899: fix the limits for signal strength values 2012-03-19 23:06:40 -03:00
mantis [media] [trivial] mantis: Fix typo in mantis_hif.c 2012-02-27 08:47:04 -03:00
ngene [media] drxk: Don't assume a default firmware name 2012-01-21 13:45:25 -02:00
pluto2 [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
pt1 [media] dvb: earth-pt1: remove unsupported net subdevices 2012-03-19 15:48:13 -03:00
siano Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-03-15 17:06:05 -07:00
ttpci [media] av7110: convert set_fontend to use DVBv5 parameters 2011-12-31 09:15:04 -02:00
ttusb-budget Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
ttusb-dec Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
Kconfig [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00
Makefile [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00