RE: [PATCH v4 06/12] [media] cxd2880: Add integration layer for the driver
From: Takiguchi, Yasunari
Date: Tue Dec 19 2017 - 20:06:49 EST
Hi, Mauro.
> >
> > These functions monitor the driver and watch for task completion.
> > This is part of the Sony CXD2880 DVB-T2/T tuner + demodulator driver.
>
> If I understand well, the goal here is to have thread that would be waking
> up from time to time, right? Just use the infrastructure that the Kernel
> has for it, like a kthread, or timer_setup() & friends.
>
> Take a look at include/linux/timer.h, and just use what's already defined.
This code is initialize process.
Therefore, it is executed only once and it will not execute other processing at the same time.
We think that the current implementation is enough.
What do you think?
furthermore, we will modify this code by using ktime_foo().
Thanks,
Takiguchi