[PATCH linux dev-5.4 v2 0/2] fsi: Disable link when slave init fails

Eddie James eajames at linux.ibm.com
Wed Jun 10 07:39:26 AEST 2020


This series modifies the link_enable function to accept a boolean parameter to
indicate whether to enable or disable the link. Then, it disables the link when
initialization of the slave fails or if there is no slave on the link.

Changes since v1:
 - Drop the change to remove the read-back after link enable
 - Rework the layout of the boolean handling.
 - Add some detail to commit messages.

Eddie James (2):
  fsi: master: Add boolean parameter to link_enable function
  fsi: core: Disable link when slave init fails

 drivers/fsi/fsi-core.c          | 15 +++++++++++++--
 drivers/fsi/fsi-master-aspeed.c |  7 ++++++-
 drivers/fsi/fsi-master-ast-cf.c |  5 +++--
 drivers/fsi/fsi-master-gpio.c   |  5 +++--
 drivers/fsi/fsi-master-hub.c    |  7 ++++++-
 drivers/fsi/fsi-master.h        |  3 ++-
 6 files changed, 33 insertions(+), 9 deletions(-)

-- 
2.24.0



More information about the openbmc mailing list