diff options
author | David S. Miller <davem@davemloft.net> | 2022-10-26 17:24:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-26 17:24:36 +0300 |
commit | 34e0b94520301561390f566d56048b374c28c57e (patch) | |
tree | f28b16592baa499739c91e50ae1f2618d8441b39 /drivers/net/ieee802154/mcr20a.c | |
parent | 9c8dddab2a3c30a8c1d410c906afbcacb46f8a3f (diff) | |
parent | 4161634bce9537ed173b3c8fd0bf9f0218bcf41c (diff) | |
download | linux-34e0b94520301561390f566d56048b374c28c57e.tar.xz |
Merge tag 'ieee802154-for-net-next-2022-10-25' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan-next
Stefan Schmidt says:
====================
==
One of the biggest cycles for ieee802154 in a long time. We are landing the
first pieces of a big enhancements in managing PAN's. We might have another pull
request ready for this cycle later on, but I want to get this one out first.
Miquel Raynal added support for sending frames synchronously as a dependency
to handle MLME commands. Also introducing more filtering levels to match with
the needs of a device when scanning or operating as a pan coordinator.
To support development and testing the hwsim driver for ieee802154 was also
enhanced for the new filtering levels and to update the PIB attributes.
Alexander Aring fixed quite a few bugs spotted during reviewing changes. He
also added support for TRAC in the atusb driver to have better failure
handling if the firmware provides the needed information.
Jilin Yuan fixed a comment with a repeated word in it.
==================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ieee802154/mcr20a.c')
-rw-r--r-- | drivers/net/ieee802154/mcr20a.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/ieee802154/mcr20a.c b/drivers/net/ieee802154/mcr20a.c index 2fe0e4a0a0c4..f53d185e0568 100644 --- a/drivers/net/ieee802154/mcr20a.c +++ b/drivers/net/ieee802154/mcr20a.c @@ -1233,12 +1233,9 @@ mcr20a_probe(struct spi_device *spi) } rst_b = devm_gpiod_get(&spi->dev, "rst_b", GPIOD_OUT_HIGH); - if (IS_ERR(rst_b)) { - ret = PTR_ERR(rst_b); - if (ret != -EPROBE_DEFER) - dev_err(&spi->dev, "Failed to get 'rst_b' gpio: %d", ret); - return ret; - } + if (IS_ERR(rst_b)) + return dev_err_probe(&spi->dev, PTR_ERR(rst_b), + "Failed to get 'rst_b' gpio"); /* reset mcr20a */ usleep_range(10, 20); |