Re: [PATCH 1/2] iio: Improve the kernel-doc of iio_trigger_poll
From: Andy Shevchenko
Date: Mon Feb 27 2023 - 17:50:31 EST
On Mon, Feb 27, 2023 at 07:00:38PM +0100, Mehdi Djait wrote:
> Move the kernel-doc of the function to industrialio-trigger.c
> Add a note on the context where the function is expected to be called.
...
> + * This function needs to be called from an interrupt context.
> - * Typically called in relevant hardware interrupt handler.
These are not equivalent. Can you explain in the commit message why we move
from hardware to any interrupt context?
--
With Best Regards,
Andy Shevchenko