Skip to content

fsi: Disable link when slave init fails

Eddie James openbmc 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fsi: master: Add boolean parameter to link_enable functiondrivers/fsi/fsi-core.c drivers/fsi/fsi-master-aspeed.c drivers/fsi/fsi-master-ast-cf.c +3 more+21 -80 replies
2/2fsi: core: Disable link when slave init failsdrivers/fsi/fsi-core.c+12 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.24.0