V4L/DVB (13704): [MB86A16] FIX: Don't loop again, if we have SYNC
authorManu Abraham <abraham.manu@gmail.com>
Thu, 3 Dec 2009 01:02:19 +0000 (22:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:28 +0000 (11:55 -0200)
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/mb86a16.c

index 82b127144615a9250643e596ecdf59b6742b7fc8..361e4762346726750d446ca779f8030448453652 100644 (file)
@@ -1487,6 +1487,7 @@ static int mb86a16_set_fe(struct mb86a16_state *state)
                if (sync) {
                        dprintk(verbose, MB86A16_INFO, 1, "******* SYNC *******");
                        freqerr_chk(state, state->frequency, state->srate, 1);
+                       break;
                }
        }