iio: pressure: dps310: hardware FIFO support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v12 Latest5 patches 2 repliesIn review
- v115 patches 7 repliesSuperseded
- v104 patches 5 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v9 | 3 patches | 3 replies | Superseded | |
| v8 | 10 patches | 7 replies | Applied | |
| v7 | 10 patches | 9 replies | Superseded | |
| v6 | 6 patches | 17 replies | Superseded | |
| v5 | 3 patches | 6 replies | Superseded | |
| v3 | 1 patch | 6 replies | Superseded | |
| v1 | 1 patch | 1 reply | Superseded |
Changes in v12 from the cover letter
- patch 1: blank line, Reviewed-by Andy
- patch 2: guard() in postenable, setup moved to a helper that kfree()s on error, scoped_guard() in fifo_work, loop counters in the for, ternary on one line, two comments trimmed. The first loop in fifo_drain keeps cnt outside, it is used after the loop.
- patch 3: signature wrapped
- patch 4: drain comment and commit message trimmed
- patch 5: Suggested-by Andy back, assert in the new helper too, still optional
Patches in v12 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | iio: pressure: dps310: use devm_mutex_init()drivers/ | +5 | 0 replies | |
| 2/5 | iio: pressure: dps310: read buffered samples from the hardware FIFOdrivers/ | +325 | 0 replies | |
| 3/5 | iio: pressure: dps310: derive the drain interval from the watermarkdrivers/ | +32 | 0 replies | |
| 4/5 | iio: pressure: dps310: implement .hwfifo_flush_to_buffer()drivers/ | +32 | 0 replies | |
| 5/5 | iio: pressure: dps310: assert the lock at runtime toodrivers/ | +43 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v12 0/5] iio: pressure: dps310: hardware FIFO support
Rest of FIFO series, on iio/togreg which has 1-6 and 10 of v8.
Since v11:
- patch 1: blank line, Reviewed-by Andy
- patch 2: guard() in postenable, setup moved to a helper that kfree()s on error, scoped_guard() in fifo_work, loop counters in the for, ternary on one line, two comments trimmed. The first loop in fifo_drain keeps cnt outside, it is used after the loop.
- patch 3: signature wrapped
- patch 4: drain comment and commit message trimmed
- patch 5: Suggested-by Andy back, assert in the new helper too, still optional
Pressure overflow fix is now at v4:
https://lore.kernel.org/linux-iio/[email protected]/
Patches 1 and 5 conflict trivially with it. I can rebase on whichever goes in first.
Retested on DPS310 with BeagleBone Black. Lockdep run under QEMU.
v11: https://lore.kernel.org/linux-iio/[email protected]/
Rupesh Majhi (5):
iio: pressure: dps310: use devm_mutex_init()
iio: pressure: dps310: read buffered samples from the hardware FIFO
iio: pressure: dps310: derive the drain interval from the watermark
iio: pressure: dps310: implement .hwfifo_flush_to_buffer()
iio: pressure: dps310: assert the lock at runtime too
drivers/iio/pressure/dps310.c | 441 +++++++++++++++++++++++++++++++++- 1 file changed, 430 insertions(+), 11 deletions(-)
base-commit: a3b3580713f3ac5a32dc2874ee546828977a1d68
Signature · 1 line
2.43.0