diff options
| author | Alexandru Ardelean <[email protected]> | 2021-10-07 08:00:32 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-10-19 08:30:45 +0100 |
| commit | c02cd5c19c17698f12b731e898127095f9bc2921 (patch) | |
| tree | 55efe56945d53ab71aa107aa9f1493f661b0176f /scripts/gcc-plugins/latent_entropy_plugin.c | |
| parent | 1546d6718dc92b27935931ee4e4c2e9893ef3066 (diff) | |
iio: triggered-buffer: extend support to configure output buffers
Now that output (kfifo) buffers are supported, we need to extend the
{devm_}iio_triggered_buffer_setup_ext() parameter list to take a direction
parameter.
This allows us to attach an output triggered buffer to a DAC device.
Unfortunately it's a bit difficult to add another macro to avoid changing 5
drivers where {devm_}iio_triggered_buffer_setup_ext() is used.
Well, it's doable, but may not be worth the trouble vs just updating all
these 5 drivers.
Signed-off-by: Alexandru Ardelean <[email protected]>
Signed-off-by: Mihail Chindris <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions