lkml.org 
[lkml]   [2021]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/2] Add reset/enable GPIO support to SPI driver
Date
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

\
 
 \ /
  Last update: 2021-12-14 17:34    [W:0.040 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site