Commit f5218777 authored by Federico Vaga's avatar Federico Vaga

drv: always enable the alternative time trigger source

The user has no control over it. Its configuration is done
through other means, so it does not make sense to have part
of the configuration here.
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent fde12481
......@@ -409,8 +409,9 @@ static int __fa_init(struct fa_dev *fa)
fa_writel(fa, fa->fa_adc_csr_base, &zfad_regs[ZFAT_SHOTS_NB], 1);
/* Enable the software trigger by default: there is no arm in this */
/* Enable the alternative time source: later it will be done by HDL */
fa_writel(fa, fa->fa_adc_csr_base, &zfad_regs[ZFAT_CFG_SRC],
FA100M14B4C_TRG_SRC_SW);
FA100M14B4C_TRG_SRC_SW | FA100M14B4C_TRG_SRC_ALT);
/* Zero offsets and release the DAC clear */
zfad_reset_offset(fa);
......
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