[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250423-gpiochip-set-rv-hid-v1-0-2e6762b582f6@linaro.org>
Date: Wed, 23 Apr 2025 10:55:38 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Jiri Kosina <jikos@...nel.org>, Benjamin Tissoires <bentiss@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, Rishi Gupta <gupt21@...il.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-i2c@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: [PATCH 0/6] hid: use new GPIO setter callbacks
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 drivers under drivers/hid/.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
---
Bartosz Golaszewski (6):
hid: cp2112: destroy mutex on driver detach
hid: cp2112: hold the lock for the entire direction_output() call
hid: cp2112: use lock guards
hid: cp2112: use new line value setter callbacks
hid: mcp2200: use new line value setter callbacks
hid: mcp2221: use new line value setter callbacks
drivers/hid/hid-cp2112.c | 66 +++++++++++++++++++++++------------------------
drivers/hid/hid-mcp2200.c | 23 ++++++++++-------
drivers/hid/hid-mcp2221.c | 10 ++++---
3 files changed, 52 insertions(+), 47 deletions(-)
---
base-commit: 2c9c612abeb38aab0e87d48496de6fd6daafb00b
change-id: 20250423-gpiochip-set-rv-hid-81b17ff4bdbe
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Powered by blists - more mailing lists