[PATCH 6/7] af9013 Stop OFSM while channel changing.

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

 



To minimise corruptions on channel change.

Signed-off-by: Malcolm Priestley <tvboxspy@xxxxxxxxx>
---
 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




--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux