reset: make optional functions
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 5 repliesIn review
- v16 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | reset: make optional functions really optionaldrivers/ include/ | +63 | 0 replies | |
| 2/6 | reset: core: fix reset_control_putdrivers/ | +1 | 0 replies | |
| 3/6 | reset: fix optional reset_control_get stubs to return NULLinclude/ | +2 | 0 replies | |
| 4/6 | reset: add exported __reset_control_get, return NULL if optionaldrivers/ include/ | +30 | 0 replies | |
| 5/6 | reset: make device_reset_optional() really optionaldrivers/ include/ | +18 | 0 replies | |
| 6/6 | reset: remove remaining WARN_ON() in <linux/reset.h>include/ | +0 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Andrzej Hajda | Andy Shevchenko |
|---|---|---|
| 1/6 | ||
| 2/6 | ||
| 3/6 | T-b R-b | |
| 4/6 | T-b | |
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 for v4.19-stable 0/6] reset: make optional functions
Hi Greg/Sasha:
Please apply this series to v4.9.y stable tree. The reason is that v4.9-stable branch has this patch for stmmac ethernet driver:
"6f37f7b62baa net: stmmac: socfpga: add additional ocp reset line for Stratix10"
This patch calls devm_reset_control_get_optional(). This call ultimately fails without this reset patch, becuase the call to devm_reset_control_get_optional() is returning an error code, which causes the ethernet driver to fail to load. This patch fixes the call to *_get_optional_* in that any call to the reset driver with *_optional_* will return 0 instead of an error value.
Patches 2-6 are needed as well because those patches fix patch 1/6.
Thanks..
Dinh
Heiner Kallweit (1):
reset: core: fix reset_control_put
Masahiro Yamada (2):
reset: make device_reset_optional() really optional
reset: remove remaining WARN_ON() in <linux/reset.h>
Philipp Zabel (2):
reset: fix optional reset_control_get stubs to return NULL
reset: add exported __reset_control_get, return NULL if optional
Ramiro Oliveira (1):
reset: make optional functions really optional
drivers/reset/core.c | 79 +++++++++++++++++++++++++++---------- include/linux/reset.h | 92 +++++++++++++++++++++---------------------- 2 files changed, 104 insertions(+), 67 deletions(-)
Signature · 1 line
2.17.1