public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6/7] af9013 Stop OFSM while channel changing.
@ 2011-11-12 15:56 Malcolm Priestley
  2011-11-12 16:39 ` Antti Palosaari
  0 siblings, 1 reply; 2+ messages in thread
From: Malcolm Priestley @ 2011-11-12 15:56 UTC (permalink / raw)
  To: linux-media

To minimise corruptions on channel change.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
---
 drivers/media/dvb/frontends/af9013.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/media/dvb/frontends/af9013.c b/drivers/media/dvb/frontends/af9013.c
index 38a6ea2..6a5b40c 100644
--- a/drivers/media/dvb/frontends/af9013.c
+++ b/drivers/media/dvb/frontends/af9013.c
@@ -629,6 +629,10 @@ static int af9013_set_frontend(struct dvb_frontend *fe,
 		params->u.ofdm.bandwidth);
 
 	state->frequency = params->frequency;
+	/* Stop OFSM */
+	ret = af9013_write_reg(state, 0xffff, 1);
+	if (ret)
+		goto error;
 
 	/* program tuner */
 	if (mutex_lock_interruptible(state->fe_mutex) < 0)
-- 
1.7.5.4





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-12 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-12 15:56 [PATCH 6/7] af9013 Stop OFSM while channel changing Malcolm Priestley
2011-11-12 16:39 ` Antti Palosaari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox