Skip to content

bus: ts-nbus: use gpiod_multi_set_value_cansleep

David Lechner linux-arm-kernel linux-gpio lkml 5 versions – In review

Get series with b4
b4 am [email protected] change-id 20250131-gpio-set-array-helper-bd4a328370d3

Versions newest first

  1. v5 Latest3 patches 2 repliesIn review
  2. v43 patches 1 replySuperseded
  3. v315 patches 34 repliesApplied
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v213 patches19 repliesSuperseded
v113 patches23 repliesSuperseded

Changes in v5 from the cover letter

- Fix undeclared variable in ts_nbus_reset_bus()
- Link to v4: https://lore.kernel.org/r/[email protected]

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bus: ts-nbus: validate ts,data-gpios array sizedrivers/bus/ts-nbus.c+4 -00 replies
2/3bus: ts-nbus: use gpiod_multi_set_value_cansleepdrivers/bus/ts-nbus.c+2 -40 replies
3/3bus: ts-nbus: use bitmap_set_value8()drivers/bus/ts-nbus.c+4 -50 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchLinus Walleij
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] bus: ts-nbus: use gpiod_multi_set_value_cansleep

This is what remains from "gpiolib: add gpiod_multi_set_value_cansleep" that didn't get applied yet for the bus subsystem. So I have changed the subject line accordingly.

Arnd,

There was no maintainer listed in MAINTAINERS for the ts-nbus driver and it looks like you have picked up patches for it in the past. Could you please pick up these as well?

---
Changes in v5:
- Fix undeclared variable in ts_nbus_reset_bus()
- Link to v4: https://lore.kernel.org/r/[email protected]

Changes in v4:
- Dropped all non-ts-nbus patches.
- Fixed a reported issue with uninitialized variables.
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- Added IS_ERR_OR_NULL() check to gpiod_multi_set_value_cansleep()
- Added new patches to clean up accessing bitmap directly (ts-nbus, ad2s1210).
- Added function prefix for max3191x.
- Removed unnecessary braces in ad7606 patch.
- Picked up additional trailers.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Renamed new function from gpiods_multi_set_value_cansleep() to gpiod_multi_set_value_cansleep()
- Fixed typo in name of replaced function in all commit messages.
- Picked up trailers.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
David Lechner (3):
bus: ts-nbus: validate ts,data-gpios array size
bus: ts-nbus: use gpiod_multi_set_value_cansleep
bus: ts-nbus: use bitmap_set_value8()

 drivers/bus/ts-nbus.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

---
base-commit: 19a60293b9925080d97f22f122aca3fc46dadaf9
change-id: 20250131-gpio-set-array-helper-bd4a328370d3

Best regards,

Signature · 1 line
David Lechner <[email protected]>