Linux 3.3 DVB userspace ABI broken for xine (FE_SET_FRONTEND)

Message ID 4F7F5030.4070205@yahoo.com (mailing list archive)
State Superseded, archived
Headers

Commit Message

Chris Rankin April 6, 2012, 8:21 p.m. UTC
  In fact, the following patch works for me.

Signed-off-by: Chris Rankin <rankincj@yahoo.com>
  

Patch

--- linux-3.3/drivers/media/dvb/dvb-core/dvb_frontend.c.orig	2012-04-06 20:16:02.000000000 +0100
+++ linux-3.3/drivers/media/dvb/dvb-core/dvb_frontend.c	2012-04-06 21:17:38.000000000 +0100
@@ -1831,6 +1831,13 @@ 
 		return -EINVAL;
 
 	/*
+	 * Initialize output parameters to match the values given by
+	 * the user. FE_SET_FRONTEND triggers an initial frontend event
+	 * with status = 0, which copies output parameters to userspace.
+	 */
+	dtv_property_legacy_params_sync(fe, &fepriv->parameters_out);
+
+	/*
 	 * Be sure that the bandwidth will be filled for all
 	 * non-satellite systems, as tuners need to know what
 	 * low pass/Nyquist half filter should be applied, in