Re: [PATCH v7 4/5] iio: trigger: Introduce IIO hrtimer based trigger

From: Lars-Peter Clausen
Date: Mon Aug 31 2015 - 10:57:21 EST


On 08/17/2015 02:45 PM, Vladimir Barinov wrote:
> Hello Daniel,
>
> I've verified that your hrtimer trigger works.
>
> I have minor suggestions.
>
> Will not it be useful to have ability to stop/start hrtimer polling
> not only during attach/detach trigger.
>
> f.e. writing 0 to sampling_frequency will hrtimer_cancel
> and writing any valid frequency will hrtimer_start.

What's the use case for this?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/