[PATCHv2 for v4.19-stable 0/6] reset: make optional functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.17.1




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux