linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] USB: serial: use new GPIO line value setter callbacks
@ 2025-06-10 12:43 Bartosz Golaszewski
  2025-06-10 12:43 ` [PATCH 1/2] USB: serial: ftdi_sio: " Bartosz Golaszewski
  2025-06-10 12:43 ` [PATCH 2/2] USB: serial: cp210x: " Bartosz Golaszewski
  0 siblings, 2 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2025-06-10 12:43 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman, Linus Walleij,
	Bartosz Golaszewski
  Cc: linux-usb, linux-kernel, linux-gpio, Bartosz Golaszewski

Commit 98ce1eb1fd87e ("gpiolib: introduce gpio_chip setters that return
values") added new line setter callbacks to struct gpio_chip. They allow
to indicate failures to callers. We're in the process of converting all
GPIO controllers to using them before removing the old ones. This series
converts all GPIO chips implemented under drivers/usb/serial/.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (2):
      USB: serial: ftdi_sio: use new GPIO line value setter callbacks
      USB: serial: cp210x: use new GPIO line value setter callbacks

 drivers/usb/serial/cp210x.c   | 18 +++++++-----------
 drivers/usb/serial/ftdi_sio.c | 18 ++++++++++++------
 2 files changed, 19 insertions(+), 17 deletions(-)
---
base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
change-id: 20250523-gpiochip-set-rv-usb-serial-4f4d4cc2d5ef

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


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

end of thread, other threads:[~2025-06-18 14:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10 12:43 [PATCH 0/2] USB: serial: use new GPIO line value setter callbacks Bartosz Golaszewski
2025-06-10 12:43 ` [PATCH 1/2] USB: serial: ftdi_sio: " Bartosz Golaszewski
2025-06-10 12:43 ` [PATCH 2/2] USB: serial: cp210x: " Bartosz Golaszewski
2025-06-18 14:45   ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).