software/videomixer: remove unneeded DCM resets
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 30 May 2013 19:39:56 +0000 (21:39 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 30 May 2013 19:39:56 +0000 (21:39 +0200)
software/videomixer/dvisamplerX.c

index 8e496547536c0febd03b4cf9b0a3648657d97b5e..d18e7708c41d40ec0ec95b5817975ccb4069ee01 100644 (file)
@@ -187,12 +187,6 @@ void dvisamplerX_service(void)
                                printf("dvisamplerX: phase did not settle\n");
                        dvisamplerX_print_status();
                        dvisamplerX_locked = 1;
-               } else {
-                       if(elapsed(&dvisamplerX_last_event, identifier_frequency_read()/4)) {
-                               dvisamplerX_clocking_pll_reset_write(1);
-                               while(!elapsed(&dvisamplerX_last_event, identifier_frequency_read()/16));
-                               dvisamplerX_clocking_pll_reset_write(0);
-                       }
                }
        }
 }