[hg:v4l-dvb] Proper Fix frontend DVBFE_ALGO_CUSTOM Search

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The patch number 9480 was added via Manu Abraham <manu@xxxxxxxxxxx>
> to http://linuxtv.org/hg/v4l-dvb master development tree.
>
> Kernel patches in this development tree may be modified to be backward
> compatible with older kernels. Compatibility modifications will be
> removed before inclusion into the mainstream Kernel
>
> If anyone has any objections, please let us know by sending a message to:
> 	v4l-dvb-maintainer@xxxxxxxxxxx
>
> ------
>
> From: Marco Schluessler  <marco@xxxxxxxxxxxxx>
> Fix frontend DVBFE_ALGO_CUSTOM Search
>
> Issue: Currently, the DVBFE_ALGO_CUSTOM is called only at the first tuning.
> After the first call, the status is never set to force a new tuning.
>
>
> Signed-off-by: Marco Schluessler <marco@xxxxxxxxxxxxx>
> Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>
>
>
> ---
>
>  linux/drivers/media/dvb/dvb-core/dvb_frontend.c |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff -r d40d755b5163 -r 3c6a7759c267
> linux/drivers/media/dvb/dvb-core/dvb_frontend.c ---
> a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Tue Oct 28 20:50:01 2008
> +0400 +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Thu Oct 30
> 09:38:59 2008 +0400 @@ -1389,6 +1389,9 @@ int
> dtv_property_process_set(struct dvb_
>  		dprintk("%s() Finalised property cache\n", __func__);
>  		dtv_property_cache_submit(fe);
>
> +		/* Request the search algorithm to search */
> +		fepriv->algo_status |= DVBFE_ALGO_SEARCH_AGAIN;
> +
>  		r |= dvb_frontend_ioctl_legacy(inode, file, FE_SET_FRONTEND,
>  			&fepriv->parameters);
>  		break;
>
>
> ---
>
Patch number 9480 needs to be unapplied. It is not resolving the issue. 
Proper patch attached.

-- 
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
# HG changeset patch
# User Igor M. Liplianin <liplianin@xxxxx>
# Date 1225398433 -7200
# Node ID 5702bbd95c76875c0a06c14e065f4f2fefdd3cd0
# Parent  96770c51cf54ceb55ba9e8bb3f72a02e597d2b05
Bug fix: stv0899 performs search only first time after insmod.

From: Igor M. Liplianin <liplianin@xxxxx>

stv0899 performs search only first time after insmod
due to not set DVBFE_ALGO_SEARCH_AGAIN bit

Signed-off-by: Igor M. Liplianin <liplianin@xxxxx>

diff -r 96770c51cf54 -r 5702bbd95c76 linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Mon Oct 27 18:13:47 2008 +0000
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Thu Oct 30 22:27:13 2008 +0200
@@ -1825,6 +1825,7 @@
 			fepriv->min_delay = (dvb_override_tune_delay * HZ) / 1000;
 
 		fepriv->state = FESTATE_RETUNE;
+		fepriv->algo_status |= DVBFE_ALGO_SEARCH_AGAIN;
 		dvb_frontend_wakeup(fe);
 		dvb_frontend_add_event(fe, 0);
 		fepriv->status = 0;
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux