public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] iio: buffer-dma: Minor cleanups and improvements
@ 2025-12-19 15:28 Nuno Sá via B4 Relay
  2025-12-19 15:28 ` [PATCH v2 1/6] iio: buffer-dma: Use lockdep for locking annotations Nuno Sá via B4 Relay
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Nuno Sá via B4 Relay @ 2025-12-19 15:28 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, David Lechner, Andy Shevchenko

Small series with some minor improvements for IIO DMA buffers:
 * Use lockdep instead of WARN() + mutex API;
 * Use cleanup.h;
 * Turn iio_dma_buffer_init() void;
 * And I could not resist in cleaning up coding style.

Also note that in some of the coding style cleanups I deliberately went
above the 80 col limit as I think it otherwise hurts readability. If not
the case for everyone, I can change it.

---
Changes in v2:
- Patch 1
  * Updated the commit subject and message (given that lockdep also WARNs()) 
- Patch 2
  * Slight change on the 80 column limit when allocating the block
    (Jonathan expressed preference on that form).
- Patch 4
  * Updated mutex/spinlock comments according Andy feedback.
- Link to v1: https://lore.kernel.org/r/20251203-iio-dmabuf-improvs-v1-0-0e4907ce7322@analog.com

---
Nuno Sá (6):
      iio: buffer-dma: Use lockdep for locking annotations
      iio: buffer-dma: Use the cleanup.h API
      iio: buffer-dma: Turn iio_dma_buffer_init() void
      iio: buffer-dma: Fix coding style complains
      iio: buffer-dmaengine: Use the cleanup.h API
      iio: buffer-dmaengine: Fix coding style complains

 drivers/iio/buffer/industrialio-buffer-dma.c       | 187 +++++++++------------
 drivers/iio/buffer/industrialio-buffer-dmaengine.c |  22 +--
 include/linux/iio/buffer-dma.h                     |  20 ++-
 3 files changed, 97 insertions(+), 132 deletions(-)
---
base-commit: c5411c8b9ed1caf53604bb1a5be3f487988efc98
change-id: 20251104-iio-dmabuf-improvs-03d942284b86
--

Thanks!
- Nuno Sá



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-12-22 12:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-19 15:28 [PATCH v2 0/6] iio: buffer-dma: Minor cleanups and improvements Nuno Sá via B4 Relay
2025-12-19 15:28 ` [PATCH v2 1/6] iio: buffer-dma: Use lockdep for locking annotations Nuno Sá via B4 Relay
2025-12-19 15:28 ` [PATCH v2 2/6] iio: buffer-dma: Use the cleanup.h API Nuno Sá via B4 Relay
2025-12-19 15:28 ` [PATCH v2 3/6] iio: buffer-dma: Turn iio_dma_buffer_init() void Nuno Sá via B4 Relay
2025-12-19 15:28 ` [PATCH v2 4/6] iio: buffer-dma: Fix coding style complains Nuno Sá via B4 Relay
2025-12-21 11:59   ` Jonathan Cameron
2025-12-22 12:38     ` Nuno Sá
2025-12-19 15:28 ` [PATCH v2 5/6] iio: buffer-dmaengine: Use the cleanup.h API Nuno Sá via B4 Relay
2025-12-21 12:01   ` Jonathan Cameron
2025-12-22 12:40     ` Nuno Sá
2025-12-19 15:28 ` [PATCH v2 6/6] iio: buffer-dmaengine: Fix coding style complains Nuno Sá via B4 Relay
2025-12-21 12:02 ` [PATCH v2 0/6] iio: buffer-dma: Minor cleanups and improvements Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox