Commit 68d63acc authored by Federico Vaga's avatar Federico Vaga

drv: set default coalescing time to 10ms

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 398cd3ee
......@@ -549,7 +549,7 @@ uint32_t ft_irq_coalescing_timeout_get(struct fmctdc_dev *ft,
timeout = ft_readl(ft, TDC_REG_IRQ_THRESHOLD);
break;
case FT_ACQ_TYPE_DMA:
/* There is none */
timeout = ft_dma_irq_coalescing_timeout_get(ft, chan);
break;
default:
......
......@@ -49,7 +49,7 @@ static struct zio_attribute ft_zattr_input[] = {
ZIO_ATTR_EXT("diff-reference", ZIO_RW_PERM, FT_ATTR_TDC_DELAY_REF, 0),
ZIO_ATTR_EXT("transfer-mode", ZIO_RO_PERM, FT_ATTR_TDC_TRANSFER_MODE, 0),
ZIO_ATTR_EXT("irq_coalescing_time", ZIO_RW_PERM,
FT_ATTR_TDC_COALESCING_TIME, 0),
FT_ATTR_TDC_COALESCING_TIME, 10),
};
/* This identifies if our "struct device" is device, input, output */
......
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