mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Add reset/enable GPIO support to SPI driver
@ 2021-12-14 16:33 David Mosberger-Tang
  2021-12-14 16:33 ` [PATCH v4 1/2] wilc1000: " David Mosberger-Tang
  2021-12-14 16:33 ` [PATCH v4 2/2] wilc1000: Document enable-gpios and reset-gpios properties David Mosberger-Tang
  0 siblings, 2 replies; 7+ messages in thread
From: David Mosberger-Tang @ 2021-12-14 16:33 UTC (permalink / raw)
  To: Ajay Singh
  Cc: Adham Abozaeid, Claudiu Beznea, David S. Miller, devicetree,
	Jakub Kicinski, Kalle Valo, linux-kernel, linux-wireless, netdev,
	Rob Herring, David Mosberger-Tang

I made a mistake last night when checking whether gpiod_set_value() is
safe to call with a NULL gpiod descriptor (it is).  v4 of the patch
just fixes that mistake.  It does simplify the code nicely.

This version also fixes the error handling when the reset gpio is
missing.

David Mosberger-Tang (2):
  wilc1000: Add reset/enable GPIO support to SPI driver
  wilc1000: Document enable-gpios and reset-gpios properties

 .../net/wireless/microchip,wilc1000.yaml      | 17 ++++++
 drivers/net/wireless/microchip/wilc1000/spi.c | 58 ++++++++++++++++++-
 .../net/wireless/microchip/wilc1000/wlan.c    |  2 +-
 3 files changed, 73 insertions(+), 4 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-12-15  2:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-14 16:33 [PATCH v4 0/2] Add reset/enable GPIO support to SPI driver David Mosberger-Tang
2021-12-14 16:33 ` [PATCH v4 1/2] wilc1000: " David Mosberger-Tang
2021-12-14 16:33 ` [PATCH v4 2/2] wilc1000: Document enable-gpios and reset-gpios properties David Mosberger-Tang
2021-12-14 20:04   ` Rob Herring
2021-12-14 23:30     ` David Mosberger-Tang
2021-12-14 23:54       ` Rob Herring
2021-12-15  2:53         ` David Mosberger-Tang

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

all inboxes | Powered by JetHome®