tdc: set utc time at initialization

Signed-off-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
parent 2ce1896e
......@@ -242,6 +242,8 @@ int tdc_fmc_probe(struct fmc_device *dev)
tdc_acam_set_default_config(tdc);
/* Reset ACAM chip */
tdc_acam_reset(tdc);
/* Initialice UTC time */
tdc_set_utc_time(tdc);
/* Prepare the irq work */
INIT_WORK(&tdc->irq_work, tdc_fmc_irq_work);
/* Request the IRQ */
......
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