Commit 42688421 authored by igalia's avatar igalia

tdc: delete stupid reset of the board's config... if there is no FW, we can hang…

tdc: delete stupid reset of the board's config... if there is no FW, we can hang computer at this point
parent 57ef1901
...@@ -232,10 +232,6 @@ int tdc_fmc_probe(struct fmc_device *dev) ...@@ -232,10 +232,6 @@ int tdc_fmc_probe(struct fmc_device *dev)
#endif #endif
for(i = 0; i < TDC_CHAN_NUMBER; i++) for(i = 0; i < TDC_CHAN_NUMBER; i++)
sema_init(&tdc->event[i].lock, 0); sema_init(&tdc->event[i].lock, 0);
/* Disable inputs */
tdc_set_input_enable(tdc, 0);
/* Disable running acquisition, if any */
tdc_deactivate_acquisition(tdc);
/* Setup the Gennum 412x local clock frequency */ /* Setup the Gennum 412x local clock frequency */
tdc_fmc_gennum_setup_local_clock(tdc, 160); tdc_fmc_gennum_setup_local_clock(tdc, 160);
/* Reset FPGA to load the firmware */ /* Reset FPGA to load the firmware */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment